Verified Commit 9dd22977 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(public-forms) For now reset the template upon errors to avoid crashes

We’ll need to find an other way to keep going after validation errors later.

issue #5838
parent 193b98a1
No related merge requests found
Showing with 2 additions and 0 deletions
+2 -0
......@@ -83,6 +83,8 @@ class publicFormPage extends standAlonePage
$this->done = TRUE;
} else {
msg_dialog::displayChecks($errors);
// TODO - Find a way to refill previous values in the fields
  • :information_source: Complete the task associated to this "TODO" comment. :blue_book:

Please register or sign in to reply
$this->template->reset();
}
}
}
......
  • SonarQube analysis reported 55 issues

    • :no_entry_sign: 20 critical
    • :warning: 12 major
    • :arrow_down_small: 17 minor
    • :information_source: 6 info

    Watch the comments in this conversation to review them.

    Top 10 extra issues

    Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:

    1. :no_entry_sign: Add curly braces around the nested statement(s). :blue_book:
    2. :no_entry_sign: Add curly braces around the nested statement(s). :blue_book:
    3. :no_entry_sign: Add curly braces around the nested statement(s). :blue_book:
    4. :no_entry_sign: Add curly braces around the nested statement(s). :blue_book:
    5. :no_entry_sign: Add curly braces around the nested statement(s). :blue_book:
    6. :no_entry_sign: Add curly braces around the nested statement(s). :blue_book:
    7. :no_entry_sign: Add curly braces around the nested statement(s). :blue_book:
    8. :no_entry_sign: Add curly braces around the nested statement(s). :blue_book:
    9. :no_entry_sign: Add curly braces around the nested statement(s). :blue_book:
    10. :no_entry_sign: Add curly braces around the nested statement(s). :blue_book:
    • ... 44 more
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment