Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed May 29, 2014
2 parents 21f96e2 + 2e0ec30 commit abb542b
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -242,8 +242,9 @@ 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()));

if (StringUtils.isNotBlank(synchronizationPolicy.getIntent())){
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 abb542b

Please sign in to comment.