This commit is contained in:
Lucio Lelii 2018-11-06 17:08:05 +00:00
parent e2e9c4e6bc
commit 71d3dc113f
1 changed files with 1 additions and 0 deletions

View File

@ -656,6 +656,7 @@ public class ItemsManager {
if (item instanceof AbstractFileItem) {
String newStorageID = Utils.getStorageClient(login).getClient().copyFile().from(((AbstractFileItem)item).getContent().getStorageId()).to(newPath);
((AbstractFileItem) item).getContent().setStorageId(newStorageID);
((AbstractFileItem) item).getContent().setRemotePath(newPath);
item2Node.replaceContent(ses, newNode, (AbstractFileItem) item, ItemAction.CLONED);
} else
Utils.setPropertyOnChangeNode(newNode, login, ItemAction.CLONED);