ChangeScreen2: Reload the change screen on every submit failure
A failure on submit might result in a new change message that contains the error message. The change screen should be reloaded so that the new change message is displayed. Change-Id: I55bdea185440f5a64259cf5245d6468a72fd412e Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -33,10 +33,10 @@ class SubmitAction {
|
||||
public void onFailure(Throwable err) {
|
||||
if (SubmitFailureDialog.isConflict(err)) {
|
||||
new SubmitFailureDialog(err.getMessage()).center();
|
||||
redisplay();
|
||||
} else {
|
||||
super.onFailure(err);
|
||||
}
|
||||
redisplay();
|
||||
}
|
||||
|
||||
private void redisplay() {
|
||||
|
Reference in New Issue
Block a user