From ff49f42faec43909b7611910d5814ed858e2cb13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Sassmann?= <445320@mail.muni.cz> Date: Thu, 12 Nov 2020 13:42:59 +0100 Subject: [PATCH] Registrar - redirect users to summary page bug fix * When users failed to submit the application for the first time, the registrar allowed them to try again. But if they succeeded, they were not redirected to the summary page and it seemed that the submission failed again. * Fixed by changing exception in the submission result to null, if the submission was successful. This is used later on to check the result of the submission. --- .../cz/metacentrum/perun/wui/registrar/pages/steps/FormStep.java | 1 + 1 file changed, 1 insertion(+) diff --git a/perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/pages/steps/FormStep.java b/perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/pages/steps/FormStep.java index 441e67f0..2dbc7f9c 100644 --- a/perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/pages/steps/FormStep.java +++ b/perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/pages/steps/FormStep.java @@ -72,6 +72,7 @@ public void onFinished(JavaScriptObject jso) { result.setRegisteredMail(unknownMail); } result.setApplication(jso.cast()); + result.setException(null); events.onFinished(result); }