You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/03/07 08:48:05 UTC

syncope git commit: [SYNCOPE-1225] Small fix

Repository: syncope
Updated Branches:
  refs/heads/master f36457bce -> e550506ee


[SYNCOPE-1225] Small fix


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/e550506e
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/e550506e
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/e550506e

Branch: refs/heads/master
Commit: e550506eeb881e40130e68fffa9a9d6561af4782
Parents: f36457b
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Wed Mar 7 09:47:58 2018 +0100
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Wed Mar 7 09:47:58 2018 +0100

----------------------------------------------------------------------
 .../org/apache/syncope/client/console/rest/SchemaRestClient.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/e550506e/client/console/src/main/java/org/apache/syncope/client/console/rest/SchemaRestClient.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/rest/SchemaRestClient.java b/client/console/src/main/java/org/apache/syncope/client/console/rest/SchemaRestClient.java
index 11fd812..6e75036 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/rest/SchemaRestClient.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/rest/SchemaRestClient.java
@@ -92,7 +92,8 @@ public class SchemaRestClient extends BaseRestClient {
         List<String> schemaNames = Collections.emptyList();
 
         try {
-            schemaNames = getSchemas(schemaType, null).stream().map(EntityTO::getKey).collect(Collectors.toList());
+            schemaNames = getSchemas(schemaType, null, new String[0]).stream().
+                    map(EntityTO::getKey).collect(Collectors.toList());
         } catch (SyncopeClientException e) {
             LOG.error("While getting all user schema names", e);
         }