RED-6098: Changed check for skipped entries in report for not having Ignored Hints and Removed published information

This commit is contained in:
Ali Oezyetimoglu 2023-04-24 19:20:50 +02:00
parent 9b40679d77
commit 409437fbd6

View File

@ -82,7 +82,7 @@ public class RedactionLogConverterService {
List<ReportRedactionEntry> reportEntries = new ArrayList<>();
redactionLog.getRedactionLogEntry().forEach(entry -> {
var isSkipped = !entry.isRedacted() && !entry.isHint() && !entry.isManuallyRemoved();
var isSkipped = !entry.isRedacted() && !entry.isHint() && !entry.getType().equals("hint_only") && !entry.getType().equals("published_information");
if (entry.isRedacted() || isSkipped) {
if (entry.lastChangeIsRemoved()) {