Skip to content

Commit

Permalink
sqale: Provide clone in modifyDynamicly to avoid accidental change
Browse files Browse the repository at this point in the history
  • Loading branch information
tonydamage committed Sep 28, 2021
1 parent 1e400d8 commit 57d969a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ private <T extends ObjectType> ModifyObjectResult<T> executeModifyObjectDynamica
RootUpdateContext<T, QObject<MObject>, MObject> updateContext =
prepareUpdateContext(transaction, type, oidUuid, getOptions, modifyOptions);

PrismObject<T> object = updateContext.getPrismObject();
PrismObject<T> object = updateContext.getPrismObject().clone();
Collection<? extends ItemDelta<?, ?>> modifications =
modificationsSupplier.get(object.asObjectable());

Expand Down

0 comments on commit 57d969a

Please sign in to comment.