syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmarte...@apache.org
Subject svn commit: r1298878 - /incubator/syncope/trunk/core/src/main/java/org/syncope/core/scheduling/SyncJob.java
Date Fri, 09 Mar 2012 15:37:49 GMT
Author: fmartelli
Date: Fri Mar  9 15:37:49 2012
New Revision: 1298878

URL: http://svn.apache.org/viewvc?rev=1298878&view=rev
Log:
SYNCOPE-34 #comment missed to pass virtual attributes as parameter to create propagation task

Modified:
    incubator/syncope/trunk/core/src/main/java/org/syncope/core/scheduling/SyncJob.java

Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/scheduling/SyncJob.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/scheduling/SyncJob.java?rev=1298878&r1=1298877&r2=1298878&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/scheduling/SyncJob.java (original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/scheduling/SyncJob.java Fri
Mar  9 15:37:49 2012
@@ -310,8 +310,12 @@ public class SyncJob extends AbstractTas
 
                 WorkflowResult<Map.Entry<Long, Boolean>> created = wfAdapter.create(userTO,
true, enabled);
 
-                List<PropagationTask> tasks = propagationManager.getCreateTaskIds(created,
userTO.getPassword(), null,
+                List<PropagationTask> tasks = propagationManager.getCreateTaskIds(
+                        created,
+                        userTO.getPassword(),
+                        userTO.getVirtualAttributes(),
                         Collections.singleton(((SyncTask) this.task).getResource().getName()));
+
                 propagationManager.execute(tasks);
 
                 userTO = userDataBinder.getUserTO(created.getResult().getKey());
@@ -363,7 +367,10 @@ public class SyncJob extends AbstractTas
                         WorkflowResult<Map.Entry<Long, Boolean>> updated = wfAdapter.update(userMod);
 
                         List<PropagationTask> tasks = propagationManager.getUpdateTaskIds(
-                                updated, userMod.getPassword(), null, null,
+                                updated,
+                                userMod.getPassword(),
+                                userMod.getVirtualAttributesToBeRemoved(),
+                                userMod.getVirtualAttributesToBeUpdated(),
                                 Collections.singleton(((SyncTask) this.task).getResource().getName()));
 
                         propagationManager.execute(tasks);



Mime
View raw message