Repository: syncope
Updated Branches:
  refs/heads/2_1_X 450f7c687 -> 2a6138672
  refs/heads/master 3a0afb47b -> 2d233d197


[SYNCOPE-1333] fix build


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

Branch: refs/heads/2_1_X
Commit: 2a6138672a9285b22a231b8bb5166b321e4e81dd
Parents: 450f7c6
Author: Francesco Chicchiriccò <[email protected]>
Authored: Tue Jul 10 11:00:25 2018 +0200
Committer: Francesco Chicchiriccò <[email protected]>
Committed: Tue Jul 10 11:00:25 2018 +0200

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


http://git-wip-us.apache.org/repos/asf/syncope/blob/2a613867/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/VirAttrs.java
----------------------------------------------------------------------
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/VirAttrs.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/VirAttrs.java
index 79d58da..042e61e 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/VirAttrs.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/VirAttrs.java
@@ -147,7 +147,7 @@ public class VirAttrs extends AbstractAttrs<VirSchemaTO> {
         List<AttrTO> attrs = new ArrayList<>();
 
         Map<String, AttrTO> attrMap = EntityTOUtils.buildAttrMap(
-                
GroupableRelatableTO.class.cast(anyTO).getMembership(membershipTO.getGroupKey()).getVirAttrs());
+                
GroupableRelatableTO.class.cast(anyTO).getMembership(membershipTO.getGroupKey()).get().getVirAttrs());
 
         
attrs.addAll(membershipSchemas.get(membershipTO.getGroupKey()).values().stream().map(schema
 -> {
             AttrTO attrTO = new AttrTO();

Reply via email to