Skip to content

Commit

Permalink
fixing MID-1891 (setting intent for shadows during dry-run recon)
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed May 29, 2014
1 parent 1c4908c commit 8bab56e
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -242,6 +242,8 @@ public void notifyChange(ResourceObjectShadowChangeDescription change, Task task
Collection modifications = SynchronizationSituationUtil
.createSynchronizationSituationAndDescriptionDelta(object,
situation.getSituation(), task.getChannel(), false);
modifications.add(PropertyDelta.createModificationReplaceProperty(ShadowType.F_INTENT, object.getDefinition(), synchronizationPolicy.getIntent()));

repositoryService.modifyObject(ShadowType.class, object.getOid(), modifications, subResult);
subResult.recordSuccess();
return;
Expand Down

0 comments on commit 8bab56e

Please sign in to comment.