Pull request #293: status fix
Merge in RED/persistence-service from status-fix to master * commit '1347615487d1d2bdef67e41ad5368e710291ea58': status fix
This commit is contained in:
commit
81d4970c7c
@ -658,7 +658,7 @@ public class ManualRedactionService {
|
||||
boolean removeFromDictionary, boolean revert) {
|
||||
|
||||
if (status == AnnotationStatus.APPROVED) {
|
||||
|
||||
removeRedactionPersistenceService.updateStatus(fileId, annotationId, status, removeFromDictionary);
|
||||
if (removeFromDictionary) {
|
||||
|
||||
Optional<RedactionLogEntry> redactionLogEntryOptional = redactionLog.getRedactionLogEntry()
|
||||
@ -677,10 +677,8 @@ public class ManualRedactionService {
|
||||
} else {
|
||||
removeFromDictionary(buildTypeId(redactionLogEntry, dossier), redactionLogEntry.getValue(), dossier.getId(), fileId, DictionaryEntryType.ENTRY);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
removeRedactionPersistenceService.updateStatus(fileId, annotationId, status, removeFromDictionary);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user