Closed Bug 508384 Opened 15 years ago Closed 15 years ago

Incorrect error messaging when username is too long(>50chs) in registration form

Categories

(Websites :: creative.mozilla.org, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: ryansnyder)

References

()

Details

Attachments

(1 file)

Attached image incorrect error message
steps to reproduce: 1.Go to https://mcc.stage.mozilla.com 2.Click on Join us 3. Enter a user name which is >50 chs 4.Enter all other relevant information 5.Submit the registration form 6.Notice the error message expected result: Error message specifies the max permissible username length actual result: Error message says-"Your username must be at least 4 characters in length"
same behavior can be seen while registration with username=krupa' Error message says- Uh oh! Something went wrong... auth.auth_username_chars
Assignee: nobody → ryan
Resolved and Committed. == Sending application/controllers/home.php Sending application/views/home/home_index.php Sending modules/auth/controllers/auth.php Sending modules/auth/i18n/en_US/auth.php Transmitting file data .... Committed revision 48819.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Error message for lengthy username now says- Your username must be at least 4 characters in length and less than 32 characters in length. but the error described in comment #1 is still happening. reopening.....
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Ah, yes, you are correct. I've added a new error message - The username contains unacceptable characters. Acceptable characters are A through Z, a through z, 0 through 9 and "_". Committed. == Sending modules/auth/i18n/en_US/auth.php Transmitting file data . Committed revision 48905.
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: