RED-3616: Fixed removing not redaction images that intersects imported redactions
This commit is contained in:
parent
c963c7ac32
commit
cc776b9214
@ -69,7 +69,7 @@ public class RedactionLogMergeService {
|
|||||||
redactionLog.getRedactionLogEntry().removeIf(entry -> {
|
redactionLog.getRedactionLogEntry().removeIf(entry -> {
|
||||||
if(entry.getImportedRedactionIntersections() != null) {
|
if(entry.getImportedRedactionIntersections() != null) {
|
||||||
entry.getImportedRedactionIntersections().removeAll(skippedImportedRedactions);
|
entry.getImportedRedactionIntersections().removeAll(skippedImportedRedactions);
|
||||||
if (!entry.getImportedRedactionIntersections().isEmpty() && (!entry.isImage() || entry.isImage() && !entry.isRedacted())) {
|
if (!entry.getImportedRedactionIntersections().isEmpty() && (!entry.isImage() || entry.isImage() && !entry.isHint() && entry.isRedacted())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user