task_24859 #14

Merged
francesco.mangiacrapa merged 7 commits from task_24859 into master 2023-04-05 10:35:03 +02:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit a65c4a86da - Show all commits

View File

@ -820,6 +820,13 @@ public class ProfiledMongoManager extends MongoManager implements MongoManagerI<
log.info("Deleting Fileset Folder ID {} ",fs.getFolderId());
new WorkspaceManager().deleteItem(fs.getFolderId());
}catch (Exception e) {
//Updated by Francesco. See #24902
LifecycleInformation info = doc.getLifecycleInformation();
if(info==null) {
info = new LifecycleInformation();
}
info.addErrorMessage("Unable to delete the Folder ID "+fs.getFolderId()+" in the VRE Folder");
info.setLastOperationStatus(LifecycleInformation.Status.WARNING);
log.warn("Error on deleting the Folder ID {} in the VRE Folder",fs.getFolderId(), e);
}
}