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/06/22 08:31:06 UTC

syncope git commit: Fixing errors while editing Virtual Schemas

Repository: syncope
Updated Branches:
  refs/heads/2_0_X 30ca13561 -> 772f3f367


Fixing errors while editing Virtual Schemas


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

Branch: refs/heads/2_0_X
Commit: 772f3f367b8af009f7739a7dac54533c17e8f171
Parents: 30ca135
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Fri Jun 22 10:30:48 2018 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Fri Jun 22 10:30:48 2018 +0200

----------------------------------------------------------------------
 .../org/apache/syncope/client/console/panels/VirSchemaDetails.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/772f3f36/client/console/src/main/java/org/apache/syncope/client/console/panels/VirSchemaDetails.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/VirSchemaDetails.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/VirSchemaDetails.java
index 041bfda..8236b96 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/panels/VirSchemaDetails.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/VirSchemaDetails.java
@@ -128,7 +128,7 @@ public class VirSchemaDetails extends AbstractSchemaDetailsPanel {
             @Override
             protected void onUpdate(final AjaxRequestTarget target) {
                 if (selectedResource != null) {
-                    String adminRealm = getAdminRealm(selectedResource.getKey());
+                    String adminRealm = getAdminRealm(selectedResource.getConnector());
 
                     if (SyncopeConsoleSession.get().owns(StandardEntitlement.CONNECTOR_READ, adminRealm)) {
                         extAttrName.setChoices(getExtAttrNames());