You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by md...@apache.org on 2018/01/18 09:26:52 UTC

syncope git commit: Disabling an entity only on resources always changes the status on syncope

Repository: syncope
Updated Branches:
  refs/heads/master 810c976ae -> ec9769cc8


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/ec9769cc
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/ec9769cc
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/ec9769cc

Branch: refs/heads/master
Commit: ec9769cc879607bc33d8173eb3a38543dd26cdfe
Parents: 810c976
Author: Marco Di Sabatino Di Diodoro <ma...@tirasa.net>
Authored: Thu Jan 18 10:04:17 2018 +0100
Committer: Marco Di Sabatino Di Diodoro <ma...@tirasa.net>
Committed: Thu Jan 18 10:26:25 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/ec9769cc/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 54b093e..608dee1 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
@@ -171,7 +171,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);