updated logs
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@117275 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c1ed68e8df
commit
c1b50c1eae
|
@ -328,12 +328,12 @@ public class LocalUploadServlet extends HttpServlet {
|
||||||
logger.trace("before calling createExternalFile - contentType is: "+contentType);
|
logger.trace("before calling createExternalFile - contentType is: "+contentType);
|
||||||
createdItem = WorkspaceUtil.createExternalFile(destinationFolder, itemName, "", contentType, uploadItem);
|
createdItem = WorkspaceUtil.createExternalFile(destinationFolder, itemName, "", contentType, uploadItem);
|
||||||
if(createdItem!=null)
|
if(createdItem!=null)
|
||||||
logger.info("Item "+createdItem.getName() + "uploaded correctly");
|
logger.info("Item "+createdItem.getName() + " uploaded correctly");
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
createdItem = overwriteItem(wa, itemName, uploadItem, destinationFolder); //CASE OVERWRITE
|
createdItem = overwriteItem(wa, itemName, uploadItem, destinationFolder); //CASE OVERWRITE
|
||||||
if(createdItem!=null)
|
if(createdItem!=null)
|
||||||
logger.info("Overwrite item "+createdItem.getName() + "uploaded correctly");
|
logger.info("Overwrite item "+createdItem.getName() + " uploaded correctly");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(createdItem!=null){
|
if(createdItem!=null){
|
||||||
|
|
Loading…
Reference in New Issue