Pull request #226: RED-6098: Added check to ignore manually removed entries in skipped report for not having Ignored Hints and Removed published information

Merge in RED/redaction-report-service from RED-6098-E to master

* commit '35fc90108ddca182e02793d0a99935e660907771':
  RED-6098: Added check to ignore manually removed entries in skipped report for not having Ignored Hints and Removed published information
This commit is contained in:
Ali Oezyetimoglu 2023-04-20 09:57:11 +02:00
commit 9b40679d77

View File

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