You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2022/10/31 17:42:39 UTC

[syncope] branch master updated: [SYNCOPE-1692] Ensure not to ignore attributeDeltas for the rename case (#385)

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new c20441f168 [SYNCOPE-1692] Ensure not to ignore attributeDeltas for the rename case (#385)
c20441f168 is described below

commit c20441f168f8ce5bbdae8f20bdfc2acdd5b7a466
Author: Francesco Chicchiriccò <il...@users.noreply.github.com>
AuthorDate: Mon Oct 31 18:42:34 2022 +0100

    [SYNCOPE-1692] Ensure not to ignore attributeDeltas for the rename case (#385)
---
 .../core/provisioning/java/propagation/DefaultPropagationManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/DefaultPropagationManager.java b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/DefaultPropagationManager.java
index bf367e3668..1be87d725f 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/DefaultPropagationManager.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/propagation/DefaultPropagationManager.java
@@ -691,7 +691,7 @@ public class DefaultPropagationManager implements PropagationManager {
 
         for (PropagationTaskInfo task : tasks) {
             // rename is not supported by updateDelta
-            if (!task.getConnObjectKey().equals(task.getOldConnObjectKey())) {
+            if (task.getOldConnObjectKey() != null && !task.getConnObjectKey().equals(task.getOldConnObjectKey())) {
                 continue;
             }