Merge branch 'RED-9119-bp' into 'release/4.190.x'

RED-9116 - Properly mark entity log changes

See merge request redactmanager/redaction-service!393
This commit is contained in:
Andrei Isvoran 2024-05-08 11:05:36 +02:00
commit 03c0f1a619

View File

@ -50,6 +50,10 @@ public class EntityChangeLogService {
entityLogEntry.getChanges().add(new Change(analysisNumber, changeType, now));
}
}
if (!previousEntity.equals(entityLogEntry)) {
hasChanges = true;
}
}
addRemovedEntriesAsRemoved(previousEntityLogEntries, newEntityLogEntries, analysisNumber, now);
return hasChanges;