From 438320ec21be390a4cdbd7fe3f78ff66ffa26719 Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Fri, 5 Oct 2018 15:38:42 +0000 Subject: [PATCH] fixing move operation git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@171987 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../server/WorkspaceStorageHubClientService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/common/storagehubwrapper/server/WorkspaceStorageHubClientService.java b/src/main/java/org/gcube/common/storagehubwrapper/server/WorkspaceStorageHubClientService.java index 17338a5..3fc35bd 100644 --- a/src/main/java/org/gcube/common/storagehubwrapper/server/WorkspaceStorageHubClientService.java +++ b/src/main/java/org/gcube/common/storagehubwrapper/server/WorkspaceStorageHubClientService.java @@ -699,7 +699,7 @@ public final class WorkspaceStorageHubClientService implements Workspace{ for (String itemId : itemIds) { try{ - AbstractFileItem movedItem = storageHubClientService.moveItem(itemId, destFolderContainer); + Item movedItem = storageHubClientService.moveItem(itemId, destFolderContainer); toReturnItems.add(HLMapper.toWorkspaceItem(movedItem)); }catch(Exception e){ logger.error("Error on moving the item with id: "+itemId+ " in the folder id: "+destFolderContainer.get().getId(), e);