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 2020/04/17 13:34:52 UTC

[syncope] branch master updated: [SYNCOPE-1500] Fix

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 b4d24c9  [SYNCOPE-1500] Fix
b4d24c9 is described below

commit b4d24c94e8d55c06134e9cc33d4576fa12915d3f
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Apr 17 15:34:10 2020 +0200

    [SYNCOPE-1500] Fix
---
 .../main/java/org/apache/syncope/core/logic/ReconciliationLogic.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/idm/logic/src/main/java/org/apache/syncope/core/logic/ReconciliationLogic.java b/core/idm/logic/src/main/java/org/apache/syncope/core/logic/ReconciliationLogic.java
index 8c8c23e..413ee28 100644
--- a/core/idm/logic/src/main/java/org/apache/syncope/core/logic/ReconciliationLogic.java
+++ b/core/idm/logic/src/main/java/org/apache/syncope/core/logic/ReconciliationLogic.java
@@ -231,7 +231,7 @@ public class ReconciliationLogic extends AbstractTransactionalLogic<EntityTO> {
                             status.setMatchType(MatchType.LINKED_ACCOUNT);
                             status.setAnyTypeKind(AnyTypeKind.USER);
                             status.setAnyKey(match.getLinkedAccount().getOwner().getKey());
-                            status.setRealm(match.getAny().getRealm().getFullPath());
+                            status.setRealm(match.getLinkedAccount().getOwner().getRealm().getFullPath());
                             status.setOnSyncope(getOnSyncope(match.getLinkedAccount(), connObjectKeyItem, provision));
                         }
                     });