Merge branch 'RED-7784-additional-fixes' into 'master'
RED-7784 - Don't add to report unprocessed manual add dict and image recategorizations Closes RED-7784 See merge request redactmanager/redaction-report-service!37
This commit is contained in:
commit
178fbef9c2
@ -117,7 +117,17 @@ public class EntityLogConverterService {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!entry.getManualChanges().isEmpty() && (entry.isDictionaryEntry() || entry.isDossierDictionaryEntry()) && entry.getManualChanges().get(entry.getManualChanges().size() - 1).getProcessedDate() == null) {
|
||||
if (!entry.getManualChanges().isEmpty()
|
||||
&& (entry.getEntryType() == EntryType.IMAGE || entry.getEntryType() == EntryType.IMAGE_HINT)
|
||||
&& entry.getManualChanges().get(entry.getManualChanges().size() - 1).getProcessedDate() == null
|
||||
&& entry.getManualChanges().get(entry.getManualChanges().size() - 1).getManualRedactionType().equals(ManualRedactionType.RECATEGORIZE)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!entry.getManualChanges().isEmpty()
|
||||
&& (entry.isDictionaryEntry() || entry.isDossierDictionaryEntry())
|
||||
&& entry.getManualChanges().get(entry.getManualChanges().size() - 1).getProcessedDate() == null
|
||||
&& entry.getManualChanges().get(entry.getManualChanges().size() - 1).getManualRedactionType().equals(ManualRedactionType.ADD_TO_DICTIONARY)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user