Page MenuHomePhabricator

Decide what to do with server side validation messages on membership form
Open, Needs TriagePublic

Description

The fixes in https://phabricator.wikimedia.org/T390827 cause server side validation errors to fail silently. While this is still better than loading a crashing page, it's confusing to the potential member.

We need to decide and implement a solution to handle it.

Options

  1. Hook up the validation response in the front end and display the errors similarly to our front end validation.
  2. Throw exceptions in the application that drop the potential member onto a generic error page.

Number 2 is how we currently handle when the server side donation validation fails and will be the easiest to implement.

We now feed the validation messages to the front end so number 1 is also a viable solution, and it is more user-friendly.