Merge branch 'RED-8480' into 'master'
RED-8480: removed filter for recategorizations of type image / image-hint with... Closes RED-8480 See merge request redactmanager/redaction-report-service!63
This commit is contained in:
commit
bb229f417c
@ -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