RED-5870: Enable force redaction of hints

* mergeForceRedaction no longer sets hints to skipped, now all entries are set to applied instead
This commit is contained in:
maverickstuder 2024-05-23 09:24:00 +02:00
parent edb333aa29
commit 1f6339f71d

View File

@ -416,7 +416,7 @@ public class EntityLogMergeService {
public void mergeForceRedaction(ManualForceRedaction forceRedaction, EntityLogEntry entityLogEntry, int analysisNumber) {
entityLogEntry.setLegalBasis(forceRedaction.getLegalBasis());
entityLogEntry.setState(entityLogEntry.getEntryType().equals(EntryType.HINT) ? EntryState.SKIPPED : EntryState.APPLIED);
entityLogEntry.setState(EntryState.APPLIED);
entityLogEntry.getEngines().add(Engine.MANUAL);
addChanges(entityLogEntry.getChanges(), ChangeType.CHANGED, analysisNumber, forceRedaction.getRequestDate());
entityLogEntry.getManualChanges().add(ManualChangeFactory.toLocalManualChange(forceRedaction));