syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skylar...@apache.org
Subject syncope git commit: [SYNCOPE-1235]
Date Wed, 15 Nov 2017 10:32:08 GMT
Repository: syncope
Updated Branches:
  refs/heads/master 4434d4145 -> 16f955516


[SYNCOPE-1235]


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

Branch: refs/heads/master
Commit: 16f955516f3320ab96771952210b84e7f059586b
Parents: 4434d41
Author: skylark17 <matteo.alessandroni@tirasa.net>
Authored: Wed Nov 15 11:30:10 2017 +0100
Committer: skylark17 <matteo.alessandroni@tirasa.net>
Committed: Wed Nov 15 11:31:55 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/syncope/core/logic/GroupLogic.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/16f95551/core/logic/src/main/java/org/apache/syncope/core/logic/GroupLogic.java
----------------------------------------------------------------------
diff --git a/core/logic/src/main/java/org/apache/syncope/core/logic/GroupLogic.java b/core/logic/src/main/java/org/apache/syncope/core/logic/GroupLogic.java
index 55e9b3e..c1aa1ee 100644
--- a/core/logic/src/main/java/org/apache/syncope/core/logic/GroupLogic.java
+++ b/core/logic/src/main/java/org/apache/syncope/core/logic/GroupLogic.java
@@ -261,6 +261,8 @@ public class GroupLogic extends AbstractAnyLogic<GroupTO, GroupPatch>
{
         patch.getResources().addAll(resources.stream().
                 map(resource -> new StringPatchItem.Builder().operation(PatchOperation.DELETE).value(resource).build()).
                 collect(Collectors.toList()));
+        // [SYNCOPE-1235]
+        patch.setUDynMembershipCond(group.getUDynMembershipCond());
 
         return binder.getGroupTO(provisioningManager.unlink(patch));
     }
@@ -301,6 +303,8 @@ public class GroupLogic extends AbstractAnyLogic<GroupTO, GroupPatch>
{
         patch.getResources().addAll(resources.stream().map(resource
                 -> new StringPatchItem.Builder().operation(PatchOperation.DELETE).value(resource).build()).
                 collect(Collectors.toList()));
+        // [SYNCOPE-1235]
+        patch.setUDynMembershipCond(group.getUDynMembershipCond());
 
         return update(patch, nullPriorityAsync);
     }


Mime
View raw message