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