Compare commits

...

1 Commits

Author SHA1 Message Date
Kilian Schuettler
a195a897b5 RED-8854: include Images even with unprocessed recategorizations
* case with missing legalbasis should be handled in EntityLogMergeService in persistence
2024-03-26 12:29:56 +01:00

View File

@ -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",