task_28150 #19

Merged
francesco.mangiacrapa merged 14 commits from task_28150 into master 2024-10-04 15:07:01 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 04093cd33b - Show all commits

View File

@ -164,7 +164,7 @@ public class WorkspaceManager {
try { try {
return vre.openByRelativePath(APP_FOLDER).asFolder(); return vre.openByRelativePath(APP_FOLDER).asFolder();
}catch(StorageHubException e) { }catch(StorageHubException e) {
log.debug("APP Fodler missing. Initializing.."); log.debug("APP Folder missing. Initializing..");
FolderContainer toReturn= vre.newFolder(APP_FOLDER, "Base folder for GNA records"); FolderContainer toReturn= vre.newFolder(APP_FOLDER, "Base folder for GNA records");
toReturn.setHidden(); toReturn.setHidden();
return toReturn; return toReturn;
@ -180,7 +180,7 @@ public class WorkspaceManager {
@Synchronized @Synchronized
private static FileContainer createFileRoutine(FileOptions opts) throws StorageHubException { private static FileContainer createFileRoutine(FileOptions opts) throws StorageHubException {
// Updated by Francesco, see #28150 // Updated by Francesco, see #28150
log.debug("Uploading file name: {}, in the parent folder id: {}, filesize is: {}", opts.getFileName(), log.info("Uploading file name: {}, in the parent folder id: {}, filesize is: {}", opts.getFileName(),
opts.getParent().getId(), opts.getSize()); opts.getParent().getId(), opts.getSize());
opts.setFileName(Files.fixFilename(opts.getFileName())); opts.setFileName(Files.fixFilename(opts.getFileName()));
if (opts.getSize() == null) if (opts.getSize() == null)