Skip to content

Commit

Permalink
Fixed MID-2577.
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Sep 18, 2015
1 parent b7f4c40 commit a25d0ab
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -666,7 +666,7 @@ private void savePerformed(AjaxRequestTarget target) {
}

if (delta.isEmpty() && ModelExecuteOptions.isReconcile(options)) {
ObjectDelta emptyDelta = ObjectDelta.createEmptyModifyDelta(UserType.class,
ObjectDelta emptyDelta = ObjectDelta.createEmptyModifyDelta(OrgType.class,
orgWrapper.getObject().getOid(), getPrismContext());
deltas.add(emptyDelta);

Expand Down Expand Up @@ -705,7 +705,7 @@ private boolean executeForceDelete(ObjectWrapper orgWrapper, Task task, ModelExe
OperationResult result = parentResult.createSubresult("Force delete operation");

try {
ObjectDelta<UserType> forceDeleteDelta = getChange(orgWrapper);
ObjectDelta<OrgType> forceDeleteDelta = getChange(orgWrapper);
forceDeleteDelta.revive(getPrismContext());

if (forceDeleteDelta != null && !forceDeleteDelta.isEmpty()) {
Expand Down

0 comments on commit a25d0ab

Please sign in to comment.