Merge branch 'RED-8878' into 'release/1.363.x'
RED-8878: Do not add redacted flag for REMOVED entries See merge request redactmanager/persistence-service!413
This commit is contained in:
commit
00c932dc9b
@ -105,11 +105,11 @@ public class AnalysisFlagsCalculationService {
|
||||
lastRedactionModification = lastChange.getDateTime();
|
||||
}
|
||||
|
||||
if (!hasRedactions && entry.isRedacted() && !entry.isRecommendation()) {
|
||||
if (!hasRedactions && entry.isRedacted() && !entry.isRecommendation() && (lastChange == null || lastChange.getType() != ChangeType.REMOVED)) {
|
||||
hasRedactions = true;
|
||||
}
|
||||
|
||||
if (!hasHints && entry.isHint()) {
|
||||
if (!hasHints && entry.isHint() && (lastChange == null || lastChange.getType() != ChangeType.REMOVED)) {
|
||||
hasHints = true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user