Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-48904

CLI installation allows to set invalid admin username (for example containing uppercase letters)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.2
    • Fix Version/s: None
    • Component/s: Installation
    • Labels:
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      I am the site administrator
      I misspelled my name (*first name)
      I clicked on my profile and selected "edit profile"
      I corrected the spelling of my name (left all other options unedited) and clicked "update profile"

      I get the following error:
      "Only lowercase letters allowed
      More information about this error"

      Click on "more information" the screen says
      "error/moodle/usernamelowercase
      There is currently no text in this page. You can search for this page title in other pages."

      I go back to the profile and attempt to change my username from "Admin" to "admin" I get the following error:

      "This username already exists, choose another"

      There is only ONE user – at this point that is me, the site administrator. So there is an error in the user name because of the capital "A" and yet, it cannot be changed because the username "admin" already exists.

      Is Moodle 2.7 REALLY ready to use?
      It seems to be rife with errors and circumlocution errors that have no solution (in this case aside from using my PHP admin to edit the database, which isn't user-friendly)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jladams Jonathan Adams
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: