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

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


The following commit(s) were added to refs/heads/2_1_X by this push:
     new ccb5463  [SYNCOPE-1500] Fix
ccb5463 is described below

commit ccb546341e41ab4227eaed91751c6e7710619be8
Author: Francesco Chicchiriccò <[email protected]>
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/logic/src/main/java/org/apache/syncope/core/logic/ReconciliationLogic.java
 
b/core/logic/src/main/java/org/apache/syncope/core/logic/ReconciliationLogic.java
index c2de403..517025c 100644
--- 
a/core/logic/src/main/java/org/apache/syncope/core/logic/ReconciliationLogic.java
+++ 
b/core/logic/src/main/java/org/apache/syncope/core/logic/ReconciliationLogic.java
@@ -230,7 +230,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));
                         }
                     });

Reply via email to