RED-3502: Undo suggestions results with 500 Error Code

This commit is contained in:
aoezyetimoglu 2022-03-01 13:44:38 +01:00
parent 2643b82944
commit 985dabbc7c

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();
}
}