When trying to create a new user from the user portal, if the Username field contains uppercase letters, a generic error is returned:
Error
Request failed with status code 400
This behavior is not correct: the interface should show an explicit message indicating that the username must contain only lowercase letters, as per the validation regex:
In the cluster-admin interface the error is still not well-handled, but at least a clearer message is shown.
Steps to reproduce
- Access the user portal
- Click on "New user"
- Enter a username with uppercase letters, e.g. Vittorio123
- Click "Save"
Expected behavior
A clear and contextual error message should be shown, for example:
The username may only contain lowercase letters, numbers, and the characters -, ., _.
Actual behavior
A generic error message is displayed:
Errore
Request failed with status code 400
