RED-7918 - RM-62: "Last Modified" date not updated after change #219

Merged
corina.olariu.ext1 merged 1 commits from RED-7918-backport into release/1.363.x 2023-11-20 07:37:28 +01:00

View File

@ -199,6 +199,8 @@ public class ManualRedactionService {
if (manualAddRedactionsContains(manualRedactions, removeRedactionRequest.getAnnotationId()) && AnnotationStatus.APPROVED.equals(removeRedactionRequest.getStatus())) {
log.info("hard delete ManualRedactions for file {} and annotation {}", fileId, removeRedactionRequest.getAnnotationId());
manualRedactionProviderService.hardDeleteManualRedactions(fileId, removeRedactionRequest.getAnnotationId());
fileStatusPersistenceService.setLastRedactionModificationDateForFile(fileId, OffsetDateTime.now());
fileStatusPersistenceService.setLastManualChangeDate(fileId, OffsetDateTime.now());
} else {
log.info("add removeRedaction for file {} and annotation {}", fileId, removeRedactionRequest.getAnnotationId());