From c82d4337729990f929033b2914b5cec25939dcbb Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 14 May 2019 14:01:37 +0000 Subject: [PATCH] Fixed Get Info for shared Folder git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-sharing-widget@179412 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../server/WorkspaceSharingServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/gcube/portlets/widgets/workspacesharingwidget/server/WorkspaceSharingServiceImpl.java b/src/main/java/org/gcube/portlets/widgets/workspacesharingwidget/server/WorkspaceSharingServiceImpl.java index 372a187..b7ec121 100644 --- a/src/main/java/org/gcube/portlets/widgets/workspacesharingwidget/server/WorkspaceSharingServiceImpl.java +++ b/src/main/java/org/gcube/portlets/widgets/workspacesharingwidget/server/WorkspaceSharingServiceImpl.java @@ -1085,6 +1085,7 @@ public class WorkspaceSharingServiceImpl extends RemoteServiceServlet implements FolderItem folderItem = folderContainer.get(); if (folderItem.isShared()) { if (folderItem instanceof SharedFolder) { + logger.debug("Is a shared folder search ACL in it"); List acls = retrieveACLsFromFolderContainer(folderContainer); List listEACL = new ArrayList(acls.size()); for (WorkspaceACL workspaceACL : acls) { @@ -1098,6 +1099,7 @@ public class WorkspaceSharingServiceImpl extends RemoteServiceServlet implements } return listEACL; } else { + logger.debug("Search ACL in root shared folder"); FolderContainer rootSharedFolderContainer = folderContainer.getRootSharedFolder(); FolderItem rootSharedFolder = rootSharedFolderContainer.get(); if (rootSharedFolder instanceof SharedFolder) {