updated logs
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@117276 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c1b50c1eae
commit
2bb6595b55
|
@ -324,8 +324,7 @@ public class LocalUploadServlet extends HttpServlet {
|
||||||
if(!isOverwrite){
|
if(!isOverwrite){
|
||||||
//we need to recalculate the item name
|
//we need to recalculate the item name
|
||||||
itemName = WorkspaceUtil.getUniqueName(itemName, destinationFolder);
|
itemName = WorkspaceUtil.getUniqueName(itemName, destinationFolder);
|
||||||
logger.trace("before calling createExternalFile - itemName is: "+itemName);
|
logger.trace("before calling createExternalFile - [itemName: "+itemName+", contentType: "+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");
|
||||||
|
|
Loading…
Reference in New Issue