-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
2.6.3
-
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.
- duplicates
-
MDL-43021 Cannot change the case of course shortname or idnumber
-
- Closed
-