Fixed various issues for efsa. Improved UI RED-3303 and others

This commit is contained in:
Timo Bejan 2022-01-29 21:10:29 +02:00
parent d27fc118e6
commit 129a1e2a97
2 changed files with 8 additions and 3 deletions

View File

@ -161,8 +161,13 @@ public class FileService {
}
public void hardDeleteFile(String dossierId, String fileId) {
Arrays.stream(FileType.values()).forEach(fileType ->
fileManagementStorageService.deleteObject(dossierId, fileId, fileType)
Arrays.stream(FileType.values()).forEach(fileType -> {
try {
fileManagementStorageService.deleteObject(dossierId, fileId, fileType);
} catch (Exception e) {
log.warn("Failed to physically delete file: {} with type {}", fileId, fileType);
}
}
);
forceRedactionPersistenceService.findForceRedactions(fileId, true).forEach(annotation -> {

View File

@ -36,7 +36,7 @@
<dependency>
<groupId>com.iqser.red</groupId>
<artifactId>platform-commons-dependency</artifactId>
<version>1.8.0</version>
<version>1.10.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>