RED-4497: Do not apply resize for ResizeRedactions with addtoDictionary in mergeredactionlog
This commit is contained in:
parent
333793021a
commit
48226cffc9
@ -12,7 +12,7 @@
|
||||
<artifactId>redaction-service-api-v1</artifactId>
|
||||
|
||||
<properties>
|
||||
<persistence-service.version>1.166.0</persistence-service.version>
|
||||
<persistence-service.version>1.235.0</persistence-service.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
||||
@ -321,7 +321,7 @@ public class RedactionLogMergeService {
|
||||
if (mrw.getItem() instanceof ManualResizeRedaction) {
|
||||
var manualResizeRedact = (ManualResizeRedaction) mrw.getItem();
|
||||
String manualOverrideReason = null;
|
||||
if (manualResizeRedact.getStatus().equals(AnnotationStatus.APPROVED)) {
|
||||
if (manualResizeRedact.getStatus().equals(AnnotationStatus.APPROVED) && (manualResizeRedact.getUpdateDictionary() == null || !manualResizeRedact.getUpdateDictionary())) {
|
||||
redactionLogEntry.setColor(getColor(redactionLogEntry.getType(), colors, false, redactionLogEntry.isRedacted(), false, types));
|
||||
redactionLogEntry.setPositions(convertPositions(manualResizeRedact.getPositions()));
|
||||
redactionLogEntry.setValue(manualResizeRedact.getValue());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user