Pull request #98: idRemoval fix
Merge in RED/redaction-service from annotation-fix to master * commit 'e3a960d0861bdfa96b90fe406eb825573007530e': idRemoval fix
This commit is contained in:
commit
f693667fbb
@ -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