Merge branch 'RED-9604-40-bp' into 'release/2.349.x'

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

See merge request redactmanager/persistence-service!576
This commit is contained in:
Andrei Isvoran 2024-07-11 08:59:21 +02:00
commit 6aabf374d0

View File

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