Merge branch 'RED-7918-processremoval' into 'release/3.222.x'
RED-7918 - RM-62: "Last Modified" date not updated after change See merge request redactmanager/redaction-service!205
This commit is contained in:
commit
c76b79de2d
@ -285,7 +285,7 @@ public class RedactionLogMergeService {
|
|||||||
private void processIdRemoval(RedactionLogEntry redactionLogEntry, List<Type> types, Colors colors, IdRemoval manualRemoval) {
|
private void processIdRemoval(RedactionLogEntry redactionLogEntry, List<Type> types, Colors colors, IdRemoval manualRemoval) {
|
||||||
|
|
||||||
boolean isApprovedRedaction = manualRemoval.getStatus().equals(AnnotationStatus.APPROVED);
|
boolean isApprovedRedaction = manualRemoval.getStatus().equals(AnnotationStatus.APPROVED);
|
||||||
if (isApprovedRedaction && manualRemoval.isRemoveFromDictionary() && isBasedOnDictionaryOnly(redactionLogEntry)) {
|
if (isApprovedRedaction && manualRemoval.isRemoveFromDictionary() && manualRemoval.getProcessedDate() != null && isBasedOnDictionaryOnly(redactionLogEntry)) {
|
||||||
log.debug("Skipping merge for dictionary-modifying entry");
|
log.debug("Skipping merge for dictionary-modifying entry");
|
||||||
} else {
|
} else {
|
||||||
String redactionLogEntryType = redactionLogEntry.getType();
|
String redactionLogEntryType = redactionLogEntry.getType();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user