Merge branch 'RED-7784-manual-dict-entries' into 'master'

RED-7784 - Don't redact manually added dict entries which are unprocessed

Closes RED-7784

See merge request redactmanager/redaction-report-service!36
This commit is contained in:
Andrei Isvoran 2023-11-24 13:55:59 +01:00
commit d7401178ca

View File

@ -117,6 +117,10 @@ public class EntityLogConverterService {
return;
}
if (!entry.getManualChanges().isEmpty() && (entry.isDictionaryEntry() || entry.isDossierDictionaryEntry()) && entry.getManualChanges().get(entry.getManualChanges().size() - 1).getProcessedDate() == null) {
return;
}
Set<Integer> pages = new HashSet<>();
for (Position position : entry.getPositions()) {