Merge branch 'RED-7934' into 'master'

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

Closes RED-7934

See merge request redactmanager/redaction-service!198
This commit is contained in:
Dominique Eifländer 2023-11-17 10:36:15 +01:00
commit 3f9f3857f1

View File

@ -82,7 +82,11 @@ public class ManualChangeOverwrite {
if (manualChange instanceof IdRemoval) { if (manualChange instanceof IdRemoval) {
applied = false; 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) { if (manualChange instanceof ManualForceRedaction manualForceRedaction) {