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

"Short name is already used" error when short name is NOT already used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.6.3
    • Course
    • None
    • MOODLE_26_STABLE

      Modifying ONLY the lettercase of the course short name triggers the error "Short name is already used for another course" error – even when the short name is still unique.

      Steps to reproduce:

      • Create a course with a unique short name (e.g. "my test course")
      • Return to Course administration > Edit settings for that course, changing only the lettercase of the text in the field "Course short name" (e.g. to "MY test course")
      • Attempt to save the change.

      While I can appreciate that "my test course" is functionally the same as "MY test course" for the purposes of database comparison, this quirk is getting in the way of processing Pending course requests when, for example, faculty enter a short name of "Chem 1234" when our site standard is "CHEM 1234".

      The Save changes process appears to not notice that current course and the "another course" in the error message are in fact the same course.

      Work-around: Change the lettercase and add an extra character in the course short name field. Save changes. Re-edit to remove/delete the extra character. Save changes.

            Unassigned Unassigned
            hrynkiw Donna Hrynkiw (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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