You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by md...@apache.org on 2019/10/15 12:37:00 UTC
[syncope] branch 2_1_X updated: [SYNCOPE-1504]
This is an automated email from the ASF dual-hosted git repository.
mdisabatino 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 98064a5 [SYNCOPE-1504]
98064a5 is described below
commit 98064a5d9fbcbf49f8ca269483a8fde5acc9492d
Author: Marco Di Sabatino Di Diodoro <ma...@tirasa.net>
AuthorDate: Tue Oct 15 14:28:43 2019 +0200
[SYNCOPE-1504]
---
.../syncope/core/provisioning/java/pushpull/PullJobDelegate.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PullJobDelegate.java b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PullJobDelegate.java
index f69b4c9..5f0b248 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PullJobDelegate.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/PullJobDelegate.java
@@ -356,7 +356,8 @@ public class PullJobDelegate extends AbstractProvisioningJobDelegate<PullTask> i
AnyUtils anyUtils = anyUtilsFactory.getInstance(provision.getAnyType().getKind());
profile.getResults().stream().
filter(result -> result.getUidValue() != null
- && result.getOperation() == ResourceOperation.CREATE).
+ && result.getOperation() == ResourceOperation.CREATE
+ && result.getAnyType().equals(provision.getAnyType().getKey())).
forEach(result -> {
anyUtils.addAttr(result.getKey(), provision.getUidOnCreate(), result.getUidValue());
});