This commit is contained in:
Lucio Lelii 2018-11-20 16:52:50 +00:00
parent 78291e0ef8
commit 351514b5f8
1 changed files with 1 additions and 0 deletions

View File

@ -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);