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

categoryidnumbertaken thrown if user updates categoryidnumber from small caps to large caps

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.3
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE

      Description

      Steps to reproduce: 

       

      1. Create a course category and set idnumber = 'X'
      2. Update course category and update idnumber = 'x' 

       
      The following error is thrown: 
      Debug info: 
      Error code: categoryidnumbertaken
      ×Stack trace: * line 490 of /lib/coursecatlib.php: moodle_exception thrown

      • line 106 of /course/editcategory.php: call to coursecat->update()

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tuekorsgaard Tue Korsgaard
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: