Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36298 Implement Moodle wide validation of usernames consistent.
  3. MDL-36301

Use the api to validate usernames in editadvanced.php and login/signup.php

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 2.3.2
    • Administration
    • MOODLE_23_STABLE
    • MDL-36301-master
    • Hide
      1. Goto admin>setting>users>add a new user
      2. Try adding a user with all valid detail but with the following in the username field
        1. Space - Expected error
        2. Capital case - error
        3. {}# - error
        4. .@ - No error
        5. Empty field - error
        6. Use a username that already exists in database
      3. make sure an appropriate error message is displayed
      4. Search for extendedusernamechars setting and enable it
      5. Repeat steps 1-3
      6. this time the only ones that produce error should be 2.2,2.5,2.6
      7. Repeat step 2-3 by registering as normal user to the site (signup)
      8. disable extendedusernamechars
      9. Repeat step 7 (Now error should be produced as mentioned in step 2)
      10. Come to my desk and tell me that you enjoyed the recursive testing instructions!
      Show
      Goto admin>setting>users>add a new user Try adding a user with all valid detail but with the following in the username field Space - Expected error Capital case - error {}# - error .@ - No error Empty field - error Use a username that already exists in database make sure an appropriate error message is displayed Search for extendedusernamechars setting and enable it Repeat steps 1-3 this time the only ones that produce error should be 2.2,2.5,2.6 Repeat step 2-3 by registering as normal user to the site (signup) disable extendedusernamechars Repeat step 7 (Now error should be produced as mentioned in step 2) Come to my desk and tell me that you enjoyed the recursive testing instructions!

      Use the api to validate usernames in editadvanced.php and login/signup.php refer MDL-36299

            ankit_frenz Ankit Agarwal
            ankit_frenz Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.