ignore hint that is forced should turn to hint
This commit is contained in:
parent
a53a61cea3
commit
68a9c93d54
@ -159,7 +159,14 @@ public class RedactionLogMergeService {
|
|||||||
var manualForceRedact = (ManualForceRedact) mrw.getItem();
|
var manualForceRedact = (ManualForceRedact) mrw.getItem();
|
||||||
String manualOverrideReason = null;
|
String manualOverrideReason = null;
|
||||||
if (manualForceRedact.getStatus().equals(Status.APPROVED)) {
|
if (manualForceRedact.getStatus().equals(Status.APPROVED)) {
|
||||||
redactionLogEntry.setRedacted(true);
|
|
||||||
|
// Forcing a skipped hint should result in a hint
|
||||||
|
if (dictionaryService.isHint(redactionLogEntry.getType(), dossierTemplateId)) {
|
||||||
|
redactionLogEntry.setHint(true);
|
||||||
|
} else {
|
||||||
|
redactionLogEntry.setRedacted(true);
|
||||||
|
}
|
||||||
|
|
||||||
redactionLogEntry.setStatus(Status.APPROVED);
|
redactionLogEntry.setStatus(Status.APPROVED);
|
||||||
redactionLogEntry.setColor(getColor(redactionLogEntry.getType(), dossierTemplateId, false, redactionLogEntry
|
redactionLogEntry.setColor(getColor(redactionLogEntry.getType(), dossierTemplateId, false, redactionLogEntry
|
||||||
.isRedacted(), false));
|
.isRedacted(), false));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user