Skip to content

Commit

Permalink
removed second op.res. panel from shop cart
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Sep 26, 2018
1 parent 5873250 commit 5ccc08c
Showing 1 changed file with 1 addition and 8 deletions.
Expand Up @@ -262,15 +262,8 @@ private void onSingleUserRequestPerformed(AjaxRequestTarget target) {
SessionStorage storage = getSessionStorage();
storage.getRoleCatalog().getAssignmentShoppingCart().clear();
} catch (Exception e) {
LoggingUtils.logUnexpectedException(LOGGER, "Could not save assignments ", e);
result.recordFatalError(e);
if (e instanceof CommonException){
error(createStringResource("PageAssignmentsList.saveAssignmentsError").getString() +
((CommonException) e).getLocalizedUserFriendlyMessage());
} else {
error(createStringResource("PageAssignmentsList.saveAssignmentsError").getString() + e.getLocalizedMessage());
}
target.add(getFeedbackPanel());
LoggingUtils.logUnexpectedException(LOGGER, "Could not save assignments ", e);
} finally {
result.recomputeStatus();
}
Expand Down

0 comments on commit 5ccc08c

Please sign in to comment.