Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Component/s: Database SQL/XMLDB
-
Labels:None
-
Database:Any
-
Affected Branches:MOODLE_19_STABLE
Description
If you attempt to create or edit a course so that the Course Shortname is the same as another course, the change is refused and it gives you a warning. Similarly backup and restore appears to modify the name of courses if the shortname is going to be a duplicate.
However this constraint is not reflected in the database schema which has perfomance ramifications.
Issue Links
| This issue is a clone of: | ||||
| MDL-14084 | Course "idnumber" in settings is not enforced as unique, but treated as such in code |
|
|
|
Re-assigning this for Dave. I think it's more of a policy decision if this should be unique, as there is some potential pain in actually fixing it.