fedora-infra / fas

Fedora Account System
https://admin.fedoraproject.org/accounts
GNU General Public License v2.0
40 stars 50 forks source link

Trailing space confuses fas new user signup #141

Closed nirik closed 8 years ago

nirik commented 8 years ago

From: https://fedorahosted.org/fedora-infrastructure/ticket/5085 The FAS sign-up page performs input data validation. When the Full name field contains a trailing white space we've got the following error message:

The following error(s) have occurred with your request:

 human_name: You must include the full form of your names, not just

initials. If your fullname really has one letter portions, you may check the override checkbox to submit this name.

This is confusing to the user because when they go back and look at the form details everything looks correctly. A trailing space isn't easy to spot and the user is left wondering what to do next.

Either we have to strip white space or produce a more meaningful error message.

Affected URL:

https://admin.fedoraproject.org/accounts/user/new

Additional info:

I've seen this issue at the Fedora booth at FOSDEM today, when a new user tried to sign up to FAS.