[zanata-bugs] [Bug 981082] New: Some Username validation error messages not always accurate

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 4 01:30:38 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=981082

            Bug ID: 981082
           Summary: Some Username validation error messages not always
                    accurate
           Product: Zanata
           Version: development
         Component: Usability
          Severity: low
          Priority: unspecified
          Assignee: irooskov at redhat.com
          Reporter: djansen at redhat.com
        QA Contact: djansen at redhat.com
                CC: zanata-bugs at redhat.com

Description of problem:
The error messages for username field validation do not accurately reflect the
given errors

Version-Release number of selected component (if applicable):
Dev

How reproducible:
Easily, always

Steps to Reproduce:
1. Go to zanata/account/register
2. Enter johndoeusernamevalidation into the username field
3. Tab to / click on another field

Actual results:
Error:
lowercase letters and digits (regex "^[a-z\d_]{3,20}$")

Expected results:
Error:
size must be between 3 and 20

Additional info:
Add two 'r' characters to the end, and the right error is given. I randomly
tried other characters, and got varying results in what was needed to get the
size error.
Couldn't find any instance of a username <= 20 characters that caused the
above.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=clRtW49dA4&a=cc_unsubscribe




More information about the zanata-bugs mailing list