Merge branch 'RED-8043' into 'master'

RED-8043 - Don't add force hints into reports

Closes RED-8043

See merge request redactmanager/redaction-report-service!42
This commit is contained in:
Andrei Isvoran 2023-12-19 13:59:34 +01:00
commit 73aedb58db

View File

@ -161,6 +161,15 @@ public class EntityLogConverterService {
return;
}
if (!entry.getManualChanges().isEmpty() && entry.getEntryType().equals(EntryType.HINT) && entry.getManualChanges()
.get(entry.getManualChanges().size() - 1)
.getProcessedDate() == null && entry.getManualChanges()
.get(entry.getManualChanges().size() - 1)
.getManualRedactionType()
.equals(ManualRedactionType.FORCE_REDACT)) {
return;
}
Set<Integer> pages = new HashSet<>();
for (Position position : entry.getPositions()) {