From 5d32792908c27e21e437138964babca6762bd80f Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Tue, 10 Dec 2019 12:07:42 +0100 Subject: [PATCH] fix getInternalVOScopes method. Now it returns only the VO and root-vo scopes --- .../java/org/gcube/informationsystem/publisher/utils/Utils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/gcube/informationsystem/publisher/utils/Utils.java b/src/main/java/org/gcube/informationsystem/publisher/utils/Utils.java index 27aa96b..cecd520 100644 --- a/src/main/java/org/gcube/informationsystem/publisher/utils/Utils.java +++ b/src/main/java/org/gcube/informationsystem/publisher/utils/Utils.java @@ -65,6 +65,7 @@ public class Utils { ScopeBean scopeBean = new ScopeBean(scope); if(scopeBean.is(Type.VRE)) vosScopes.add(scopeBean.enclosingScope().toString()); + else // if the scope is a root-vo scope, it will be added to the vosScope array vosScopes.add(scope); }