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

Change language while in course settings form

XMLWordPrintable

    • MOODLE_23_STABLE

      Changing language while in a course settings form produces an error.

      Replication steps:

      1. Log in as admin
      2. Ensure more than one language pack is installed and that users can switch languages
      3. Switch to the Anomaly theme
      4. Navigate to a course
      5. Click Edit settings
      6. Change languages using the drop-down at the top of the page

      Expected result: The language is switched and the user is returned to the settings page

      Actual result: An error message is displayed.

      This operation displaying "Either course id or category must be specified" error message.
       
      More information about this error
      Debug info:
      Error code: needcoursecategroyid
      Stack trace:
       
          line 467 of \lib\setuplib.php: moodle_exception thrown
          line 62 of \course\edit.php: call to print_error()

            Unassigned Unassigned
            bencosk Filip Benčo
            Votes:
            6 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.