RED-9782: Automated Analysis should be disabled when uploading a document that...
This commit is contained in:
parent
a51f10b9d1
commit
7c31d4f70b
@ -130,7 +130,10 @@ public class EntityFromPrecursorCreationService {
|
||||
} else {
|
||||
String section = precursorEntity.getManualOverwrite().getSection()
|
||||
.orElse(null);
|
||||
if (section != null && precursorEntity.getEngines().contains(Engine.IMPORTED) && section.isBlank() && !precursorEntity.getSection().isBlank()) {
|
||||
if ((section == null || section.isBlank())
|
||||
&& precursorEntity.getSection() != null
|
||||
&& !precursorEntity.getSection().isBlank()
|
||||
&& precursorEntity.getEngines().contains(Engine.IMPORTED)) {
|
||||
section = precursorEntity.getSection();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user