Compare commits

...

1 Commits

Author SHA1 Message Date
maverickstuder
9d9c674bb5 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
2024-08-09 16:13:49 +02:00

View File

@ -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);
}