Pull request #268: RED-3502: Undo suggestions results with 500 Error Code

Merge in RED/persistence-service from RED-3502-ps1 to master

* commit '985dabbc7c89ddaa2f23d561d1a6f5e9c9996fc0':
  RED-3502: Undo suggestions results with 500 Error Code
This commit is contained in:
Ali Oezyetimoglu 2022-03-01 13:47:48 +01:00
commit aea3ce348a

View File

@ -66,7 +66,7 @@ public class AnalysisFlagsCalculationService {
.equals(ManualRedactionType.REMOVE_LOCALLY) || manualChange.getManualRedactionType()
.equals(ManualRedactionType.FORCE_REDACT) || manualChange.getManualRedactionType()
.equals(ManualRedactionType.LEGAL_BASIS_CHANGE) || manualChange.getManualRedactionType()
.equals(ManualRedactionType.RESIZE)) && manualChange.getProcessedDate().isAfter(lastModification)) {
.equals(ManualRedactionType.RESIZE)) && manualChange.getProcessedDate()!= null && manualChange.getProcessedDate().isAfter(lastModification)) {
lastModification = manualChange.getProcessedDate();
}
}