Skip to content

Commit

Permalink
using clone of object for generation of object wrapper (MID-6087)
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Mar 3, 2020
1 parent 6aa5c78 commit 29c531e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -601,7 +601,7 @@ protected PrismObjectWrapper<O> loadObjectWrapper(PrismObject<O> objectToEdit, b


try {
wrapper = factory.createObjectWrapper(object, itemStatus, context);
wrapper = factory.createObjectWrapper(object.clone(), itemStatus, context);
} catch (Exception ex) {
result.recordFatalError(getString("PageAdminObjectDetails.message.loadObjectWrapper.fatalError"), ex);
LoggingUtils.logUnexpectedException(LOGGER, "Couldn't load object", ex);
Expand Down

0 comments on commit 29c531e

Please sign in to comment.