idRemoval fix
This commit is contained in:
parent
a8fdfc4edd
commit
e3a960d086
@ -125,7 +125,7 @@ public class AnnotationHighlightService {
|
|||||||
if (manualRemoval.getId().equals(entityPositionSequence.getId())) {
|
if (manualRemoval.getId().equals(entityPositionSequence.getId())) {
|
||||||
comments = manualRedactions.getComments().get(manualRemoval.getId());
|
comments = manualRedactions.getComments().get(manualRemoval.getId());
|
||||||
String manualOverrideReason = null;
|
String manualOverrideReason = null;
|
||||||
if (manualRemoval.getStatus().equals(Status.APPROVED)) {
|
if (manualRemoval.getStatus().equals(Status.APPROVED) && manualRemoval.isRemoveFromDictionary()) {
|
||||||
entity.setRedaction(false);
|
entity.setRedaction(false);
|
||||||
redactionLogEntry.setRedacted(false);
|
redactionLogEntry.setRedacted(false);
|
||||||
redactionLogEntry.setStatus(Status.APPROVED);
|
redactionLogEntry.setStatus(Status.APPROVED);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user