commented response for fixing the Incident #10095.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@174105 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
39a32724c1
commit
6b2a735a47
|
@ -536,7 +536,12 @@ public class WorkspaceUploadServletStream extends HttpServlet implements Servlet
|
||||||
if(workspaceUploader==null)
|
if(workspaceUploader==null)
|
||||||
throw new Exception("Error when creating uploader, it is null!");
|
throw new Exception("Error when creating uploader, it is null!");
|
||||||
|
|
||||||
sendMessage(response, workspaceUploader.getIdentifier());
|
/*
|
||||||
|
* Incident #10095. Commented OK as response
|
||||||
|
* in order to avoid downloading of .dms file by Safari
|
||||||
|
* from MAC
|
||||||
|
*/
|
||||||
|
//sendMessage(response, workspaceUploader.getIdentifier());
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
logger.warn("Unsuppoterd archive for unpacking: " +uploadItem.getContentType());
|
logger.warn("Unsuppoterd archive for unpacking: " +uploadItem.getContentType());
|
||||||
|
|
Loading…
Reference in New Issue