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 2017/07/14 12:44:16 UTC
[2/2] syncope git commit: [SYNCOPE-1159] The same when pushing Realms
[SYNCOPE-1159] The same when pushing Realms
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/3d308753
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/3d308753
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/3d308753
Branch: refs/heads/master
Commit: 3d308753f48e758f93b9efb6c527da58fa55b655
Parents: daae6a7
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Fri Jul 14 14:34:07 2017 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Fri Jul 14 14:44:02 2017 +0200
----------------------------------------------------------------------
.../syncope/core/provisioning/java/pushpull/PushJobDelegate.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/3d308753/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
----------------------------------------------------------------------
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
index 76ff65b..8a4a036 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PushJobDelegate.java
@@ -148,7 +148,7 @@ public class PushJobDelegate extends AbstractProvisioningJobDelegate<PushTask> {
createBean(RealmPushResultHandlerImpl.class, AbstractBeanDefinition.AUTOWIRE_BY_NAME, false);
rhandler.setProfile(profile);
- for (Realm realm : realmDAO.findAll()) {
+ for (Realm realm : realmDAO.findDescendants(profile.getTask().getSourceRealm())) {
// Never push the root realm
if (realm.getParent() != null) {
try {