During new account creation, a username with white space does not allow account creation and provides no error message. Steps to reproduce: 1. Go to webmaker.org 2. Login with new account credentials 3. Type in a username with white space ("John Doe", "Web User") 4. Agree to the terms and conditions 5. Click the account creation button Expected results: An error should be displayed alerting the user that a username cannot contain white space. Actual results: The window closes upon click account creation button, but account is not created and no error is displayed.
It looks like client side username validation isn't working as expected for any kind of invalid username. I can get the error entering usernames with other illegal characters: '_', '&', '^', etc.
Comment on attachment 8445469 [details] [review] https://github.com/mozilla/webmaker.org/pull/832 Ok, looks good
Commit pushed to master at https://github.com/mozilla/webmaker.org https://github.com/mozilla/webmaker.org/commit/49ffd3c93c38f4cdbf47b6c1bb99fd412e649dcc Bug 1029565 - check username validity in angular create user form
Building on staging now.