git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/branches/data-access/storagehub-webapp/1.0@174269 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
78291e0ef8
commit
351514b5f8
|
@ -664,6 +664,7 @@ public class ItemsManager {
|
|||
|
||||
Utils.setPropertyOnChangeNode(newNode, login, ItemAction.CLONED);
|
||||
newNode.setProperty(NodeProperty.PORTAL_LOGIN.toString(), login);
|
||||
newNode.setProperty(NodeProperty.IS_PUBLIC.toString(), false);
|
||||
|
||||
String mimeTypeForAccounting = (item instanceof AbstractFileItem)? ((AbstractFileItem) item).getContent().getMimeType(): null;
|
||||
accountingHandler.createFolderAddObj(uniqueName, item.getClass().getSimpleName(), mimeTypeForAccounting, ses, destination, false);
|
||||
|
|
Loading…
Reference in New Issue