Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.8, 2.2.5, 2.3.2
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
MDL-36302-master -
Description
There are a number of actions that lead away from the course editing page after which the user is returned. This includes adding/deleting/moving blocks, changing languages and turning editing on/off. Currently there is a problem with these actions. When the system tries to return the user to the course settings page, an error is given.
Replication steps:
- Log in as admin/teacher
- Navigate to a course
- Click Edit settings under Course admin
- Click Turn editing on/off from Course admin
Expected result: The user is returned to the course settings page
Actual result: An error is shown...
Either course id or category must be specified
|
|
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()
|
I think the return URL issue is a recent development after MDL-32184, however there was a problem prior to this that was caused by the page URL being incorrect.