diff --git a/persistence-service-v1/persistence-service-processor-v1/src/main/java/com/iqser/red/service/persistence/management/v1/processor/service/ManualRedactionService.java b/persistence-service-v1/persistence-service-processor-v1/src/main/java/com/iqser/red/service/persistence/management/v1/processor/service/ManualRedactionService.java index 0ddadecd7..f6f420fa5 100644 --- a/persistence-service-v1/persistence-service-processor-v1/src/main/java/com/iqser/red/service/persistence/management/v1/processor/service/ManualRedactionService.java +++ b/persistence-service-v1/persistence-service-processor-v1/src/main/java/com/iqser/red/service/persistence/management/v1/processor/service/ManualRedactionService.java @@ -716,13 +716,17 @@ public class ManualRedactionService { RedactionLogEntry redactionLogEntry = null; try { + log.info("Will get redaction log entry"); redactionLogEntry = getRedactionLogEntry(redactionLog, resizeRedaction.getId().getAnnotationId()); + log.info("Got redaction log entry!"); } catch (NotFoundException e) { + log.info("Oh no! Cannot get redaction log entry!"); return; } if (resizeRedaction.getUpdateDictionary() != null && resizeRedaction.getUpdateDictionary() && resizeRedaction.getStatus() .equals(AnnotationStatus.APPROVED) && (redactionLogEntry.isDictionaryEntry() || redactionLogEntry.isDossierDictionaryEntry())) { + log.info("We will update the resize redaction"); var dossier = dossierPersistenceService.findByDossierId(dossierId); var typeId = buildTypeId(redactionLogEntry, resizeRedaction, dossier); @@ -732,6 +736,7 @@ public class ManualRedactionService { boolean isShrinking = oldValue != null && oldValue.length() > newValue.length(); + log.info("isShrinking: ", isShrinking); if (isShrinking) { log.info("Remove old value '{}' from dictionary", oldValue); removeFromDictionary(typeId, oldValue, dossierId, fileId, dictionaryEntryType);