RED-9782:Automated Analysis should be disabled when uploading a document that contains redactions from RedactManager
* manual reanalysis of files with disabled automatic analysis now executes a normal reanalysis again
This commit is contained in:
parent
9be0fad408
commit
9d9c674bb5
@ -297,7 +297,9 @@ public class FileStatusService {
|
||||
.fileAttributes(convertAttributes(fileEntity.getFileAttributes(), dossier.getDossierTemplateId()))
|
||||
.build();
|
||||
|
||||
if (fileEntity.isExcludedFromAutomaticAnalysis() && fileManagementStorageService.objectExists(dossierId, fileId, FileType.IMPORTED_REDACTIONS)) {
|
||||
if (fileEntity.isExcludedFromAutomaticAnalysis() && !manualRedactionReanalyse && fileManagementStorageService.objectExists(dossierId,
|
||||
fileId,
|
||||
FileType.IMPORTED_REDACTIONS)) {
|
||||
analyseRequest.setMessageType(MessageType.IMPORTED_REDACTIONS_ONLY);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user