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

Cannot change the case of course shortname or idnumber

    XMLWordPrintable

Details

    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • wip-MDL-43021-master
    • Hide

      Test on two databases - one that has case-sensitive string comparision (most of DB) and one that does not - it would probably be Mysql with some screwed collation, see in the comments below. Windows databases may ignore case too (I'm not sure).

      1. Create course, set shortname and idnumber
      2. Create another course, while creating make sure you can not create the course with the same shortname and idnumber
      3. Update one of the courses, make sure you can not change shortname or idnumber to whatever is already used in another course
      4. Update course changing the case of shortname/idnumber, make sure it is possible.
      5. Create course with the same shortname/idnumber as existing but with different case. Should be possible on normal database and not possible on mysql with wrong collation (and probably some windows db)
      Show
      Test on two databases - one that has case-sensitive string comparision (most of DB) and one that does not - it would probably be Mysql with some screwed collation, see in the comments below. Windows databases may ignore case too (I'm not sure). Create course, set shortname and idnumber Create another course, while creating make sure you can not create the course with the same shortname and idnumber Update one of the courses, make sure you can not change shortname or idnumber to whatever is already used in another course Update course changing the case of shortname/idnumber, make sure it is possible. Create course with the same shortname/idnumber as existing but with different case. Should be possible on normal database and not possible on mysql with wrong collation (and probably some windows db)

    Description

      Cannot change course shortname from Name to name

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              bushido Mark Nielsen
              Petr Skoda Petr Skoda
              Damyon Wiese Damyon Wiese
              Rajesh Taneja Rajesh Taneja
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14