RED-7918 - RM-62: "Last Modified" date not updated after change
- update the timestamps for redactionModificationDate and lastManualChangeDate with current time when deleting a manual redaction
This commit is contained in:
parent
4b0f487d31
commit
acab9f54e8
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user