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

This commit is contained in:
Andrei Isvoran 2023-11-24 14:27:49 +02:00
parent 4e4b668b78
commit 72e77ae4f6

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()) {