syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [2/2] syncope git commit: Ensure to update with ConnId's Uid with no version reference
Date Wed, 04 Oct 2017 09:30:00 GMT
Ensure to update with ConnId's Uid with no version reference


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

Branch: refs/heads/master
Commit: 8b61a2244e3f4aff87732221c9296b4032a71b4d
Parents: b2fa0eb
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Wed Oct 4 11:29:37 2017 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Wed Oct 4 11:29:48 2017 +0200

----------------------------------------------------------------------
 .../java/propagation/AbstractPropagationTaskExecutor.java      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/8b61a224/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/AbstractPropagationTaskExecutor.java
----------------------------------------------------------------------
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/AbstractPropagationTaskExecutor.java
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/AbstractPropagationTaskExecutor.java
index 80512f6..a36489d 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/AbstractPropagationTaskExecutor.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/AbstractPropagationTaskExecutor.java
@@ -257,7 +257,11 @@ public abstract class AbstractPropagationTaskExecutor implements PropagationTask
                 LOG.debug("Update {} on {}", strictlyModified, task.getResource().getKey());
 
                 result = connector.update(
-                        beforeObj.getObjectClass(), beforeObj.getUid(), strictlyModified,
null, propagationAttempted);
+                        beforeObj.getObjectClass(),
+                        new Uid(beforeObj.getUid().getUidValue()),
+                        strictlyModified,
+                        null,
+                        propagationAttempted);
             }
         }
 


Mime
View raw message