RED-9782:Automated Analysis should be disabled when uploading a document that contains redactions from RedactManager
* fix for findings
This commit is contained in:
parent
673e754430
commit
876bef2e00
@ -70,8 +70,8 @@ public class EntityLogConverterService {
|
||||
private Map<String, String> fillMapOfTypeAndEntityDisplayName(String dossierId) {
|
||||
|
||||
List<Type> typeList = new ArrayList<>();
|
||||
typeList.addAll(dictionaryClient.getAllTypesForDossier(dossierId, null, false));
|
||||
typeList.addAll(dictionaryClient.getAllTypesForDossierTemplate(dossierClient.getDossierById(dossierId, true, false).getDossierTemplateId(), null, false));
|
||||
typeList.addAll(dictionaryClient.getAllTypesForDossier(dossierId, null, true));
|
||||
typeList.addAll(dictionaryClient.getAllTypesForDossierTemplate(dossierClient.getDossierById(dossierId, true, false).getDossierTemplateId(), null, true));
|
||||
|
||||
Map<String, String> mapOfEntityDisplayName = new HashMap<>();
|
||||
|
||||
@ -166,7 +166,8 @@ public class EntityLogConverterService {
|
||||
getJustificationReason(legalBasisMappings, entry),
|
||||
checkTextForNull(entry.getTextBefore()) + entry.getValue() + checkTextForNull(entry.getTextAfter()),
|
||||
entry.getValue(),
|
||||
mapOfEntityDisplayName.get(entry.getType()),
|
||||
mapOfEntityDisplayName.get(entry.getType())
|
||||
== null ? entry.getType() : mapOfEntityDisplayName.get(entry.getType()),
|
||||
entry.getState() == EntryState.SKIPPED || entry.getState() == EntryState.IGNORED));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user