RED-7934: Manual Redactions should be removed instead of ignored, when removed by id

This commit is contained in:
Kilian Schüttler 2023-11-17 10:36:15 +01:00 committed by Dominique Eifländer
parent f79838687e
commit 12a9b5029c

View File

@ -82,7 +82,11 @@ public class ManualChangeOverwrite {
if (manualChange instanceof IdRemoval) {
applied = false;
ignored = true;
if (sortedManualChanges.get(0) instanceof ManualRedactionEntry) { // set to removed if it's a Manual Redaction
removed = true;
} else {
ignored = true;
}
}
if (manualChange instanceof ManualForceRedaction manualForceRedaction) {