RED-8480: removed filter for recategorizations of typr image / image-hint with last manual change processed date null, because it does not appear in report
This commit is contained in:
parent
6b9bbbdde4
commit
2022a3d19f
@ -116,14 +116,6 @@ public class EntityLogConverterService {
|
||||
return;
|
||||
}
|
||||
|
||||
// This is due to recategorize on images leading to a wrong legal basis.
|
||||
if (!entry.getManualChanges().isEmpty()
|
||||
&& (entry.getEntryType() == EntryType.IMAGE || entry.getEntryType() == EntryType.IMAGE_HINT)
|
||||
&& getLastManualChange(entry).getProcessedDate() == null
|
||||
&& getLastManualChange(entry).getManualRedactionType().equals(ManualRedactionType.RECATEGORIZE)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (settings.getMaxRedactionEntryValueLength() > 0 && entry.getValue() != null && entry.getValue().length() > settings.getMaxRedactionEntryValueLength()) {
|
||||
entry.setValue(entry.getValue().substring(0, settings.getMaxRedactionEntryValueLength()) + "...");
|
||||
log.info("Truncated value in dossier {}, file {} on pages {} to {} chars",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user