Skip to content

Commit

Permalink
Fixed bug in MODIFY bulk action preventing modification of more than …
Browse files Browse the repository at this point in the history
…one object.
  • Loading branch information
mederly committed Sep 20, 2016
1 parent 7dc89ef commit 11d9fd5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -87,7 +87,7 @@ private ObjectDelta createDelta(ObjectType objectType, Data deltaData) throws Sc
if (deltaData.getData().size() != 1) {
throw new ScriptExecutionException("Expected exactly one delta to apply, found " + deltaData.getData().size() + " instead.");
}
ObjectDeltaType deltaType = ((PrismProperty<ObjectDeltaType>) deltaData.getData().get(0)).getAnyRealValue();
ObjectDeltaType deltaType = ((PrismProperty<ObjectDeltaType>) deltaData.getData().get(0)).getAnyRealValue().clone();
if (deltaType.getChangeType() == null) {
deltaType.setChangeType(ChangeTypeType.MODIFY);
}
Expand Down

0 comments on commit 11d9fd5

Please sign in to comment.