From 3927b75c6724c73ab9fb8b40435ef39c05bb6662 Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Tue, 6 Apr 2021 11:30:39 +0200 Subject: [PATCH] none --- .../gcube/portlets/user/wswidget/StorageHubServiceUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java b/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java index 45a4a82..16bdf6a 100644 --- a/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java +++ b/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java @@ -149,9 +149,9 @@ public class StorageHubServiceUtil { * @param request * @return the VRE Folders Id */ - public static String getVREFoldersId(String groupId) { + public static String getVREFoldersId(long groupId) { String toReturn = ""; - String currentContext = PortalContext.getConfiguration().getCurrentScope(groupId); + String currentContext = PortalContext.getConfiguration().getCurrentScope(""+groupId); _log.debug("getVREFoldersId, context="+currentContext); ScopeProvider.instance.set(currentContext); try {