Merge branch 'RED-9604-41-bp' into 'release/2.465.x'

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

See merge request redactmanager/persistence-service!581
This commit is contained in:
Andrei Isvoran 2024-07-11 08:57:29 +02:00
commit f9d2a7a53d

View File

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