Skip to content

Commit

Permalink
[SYNCOPE-1389] provides the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartelli committed Oct 24, 2018
1 parent 6bb67af commit e559417
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ protected List<PropagationTaskTO> createTasks(final Any<?> any,
}
values.add(AttributeBuilder.build(schema.getExtAttrName(), vAttr.getValues()));

propByRes.add(ResourceOperation.UPDATE, schema.getProvision().getResource().getKey());
if (!propByRes.contains(ResourceOperation.CREATE, schema.getProvision().getResource().getKey())) {
propByRes.add(ResourceOperation.UPDATE, schema.getProvision().getResource().getKey());
}
} else {
LOG.warn("{} not owned by or {} not allowed for {}",
schema.getProvision().getResource(), schema, any);
Expand Down

0 comments on commit e559417

Please sign in to comment.