Skip to content

Commit

Permalink
redirect back fix while object saving
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Sep 21, 2021
1 parent ff4e73a commit d2c3cfa
Showing 1 changed file with 8 additions and 2 deletions.
Expand Up @@ -242,8 +242,14 @@ public Collection<ObjectDeltaOperation<? extends ObjectType>> saveOrPreviewPerfo

LOGGER.trace("returning from saveOrPreviewPerformed");
Collection<ObjectDeltaOperation<? extends ObjectType>> executedDeltas = executeChanges(deltas, previewOnly, options, task, result, target);
// result.computeStatusIfUnknown();
// showResult(result);

result.computeStatusIfUnknown();
showResult(result);
if (!previewOnly && result.isSuccess()) {
redirectBack();
} else {
target.add(getFeedbackPanel());
}
return executedDeltas;
}

Expand Down

0 comments on commit d2c3cfa

Please sign in to comment.