This commit is contained in:
Lucio Lelii 2019-01-24 16:29:48 +00:00
parent 3f1ec4dd3f
commit 5b8d5c1b21
1 changed files with 1 additions and 0 deletions

View File

@ -802,6 +802,7 @@ public class ItemsManager {
Utils.setPropertyOnChangeNode(newNode, login, ItemAction.CLONED);
newNode.setProperty(NodeProperty.PORTAL_LOGIN.toString(), login);
newNode.setProperty(NodeProperty.IS_PUBLIC.toString(), false);
newNode.setProperty(NodeProperty.TITLE.toString(), uniqueName);
String mimeTypeForAccounting = (item instanceof AbstractFileItem)? ((AbstractFileItem) item).getContent().getMimeType(): null;
accountingHandler.createFolderAddObj(uniqueName, item.getClass().getSimpleName(), mimeTypeForAccounting, ses, destination, false);