Merge branch 'RED-9604-42' into 'master'

RED-9604 - Don't check that removed entries still have comments

Closes RED-9604

See merge request redactmanager/persistence-service!580
This commit is contained in:
Andrei Isvoran 2024-07-11 08:57:44 +02:00
commit 57871d11c9

View File

@ -118,7 +118,7 @@ public class AnalysisFlagsCalculationService {
hasUpdates = true;
}
if (entry.getNumberOfComments() > 0) {
if (entry.getNumberOfComments() > 0 && !entry.getState().equals(EntryState.REMOVED)) {
hasComments = true;
}