-
Bug
-
Resolution: Fixed
-
Major
-
2.3
-
MOODLE_23_STABLE
Changing language while in a course settings form produces an error.
Replication steps:
- Log in as admin
- Ensure more than one language pack is installed and that users can switch languages
- Switch to the Anomaly theme
- Navigate to a course
- Click Edit settings
- 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()
|