removed ASL Session and updated to 1.6.0-SNAPSHOT
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@134678 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ebd6baaa7b
commit
ffe3daa1ec
|
@ -421,10 +421,7 @@ public class WorkspaceUploadServletStream extends HttpServlet implements Servlet
|
||||||
saveWorkspaceUploaderStatus(workspaceUploader, UPLOAD_STATUS.FAILED, "An error occurred during upload: "+fileName+". No destination folder found", request.getSession());
|
saveWorkspaceUploaderStatus(workspaceUploader, UPLOAD_STATUS.FAILED, "An error occurred during upload: "+fileName+". No destination folder found", request.getSession());
|
||||||
sendError(response, "Internal error: No destination folder found");
|
sendError(response, "Internal error: No destination folder found");
|
||||||
return;
|
return;
|
||||||
} catch (InsufficientPrivilegesException e) {
|
}
|
||||||
sendError(response, "Internal error: InsufficientPrivilegesException");
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (item.getType() != WorkspaceItemType.FOLDER && item.getType() != WorkspaceItemType.SHARED_FOLDER) {
|
if (item.getType() != WorkspaceItemType.FOLDER && item.getType() != WorkspaceItemType.SHARED_FOLDER) {
|
||||||
logger.error("Error processing request in upload servlet: Wrong destination item");
|
logger.error("Error processing request in upload servlet: Wrong destination item");
|
||||||
|
|
Loading…
Reference in New Issue