task_28150 #19
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue