Repository: syncope
Updated Branches:
  refs/heads/2_0_X 2121d2f0d -> 87e4ff51f


Disabling an entity only on resources always changes the status on syncope


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

Branch: refs/heads/2_0_X
Commit: 87e4ff51f7acde43b4ece9b00769c63922ba7827
Parents: 2121d2f
Author: Marco Di Sabatino Di Diodoro <[email protected]>
Authored: Thu Jan 18 10:04:17 2018 +0100
Committer: Marco Di Sabatino Di Diodoro <[email protected]>
Committed: Thu Jan 18 10:04:17 2018 +0100

----------------------------------------------------------------------
 .../apache/syncope/client/console/commons/status/StatusUtils.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/87e4ff51/client/console/src/main/java/org/apache/syncope/client/console/commons/status/StatusUtils.java
----------------------------------------------------------------------
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/commons/status/StatusUtils.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/commons/status/StatusUtils.java
index 77a8ef9..9828b0c 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/commons/status/StatusUtils.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/commons/status/StatusUtils.java
@@ -170,7 +170,7 @@ public class StatusUtils implements Serializable {
 
     public static StatusPatch buildStatusPatch(final Collection<StatusBean> 
statuses, final Boolean enable) {
         StatusPatch.Builder builder = new StatusPatch.Builder();
-
+        builder.onSyncope(false);
         for (StatusBean status : statuses) {
             if ("syncope".equalsIgnoreCase(status.getResource())) {
                 builder.onSyncope(true);

Reply via email to