Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2.2
-
Component/s: Navigation
-
Testing Instructions:
-
Affected Branches:MOODLE_22_STABLE
-
Fixed Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-32611-m23 -
Pull Master Diff URL:
Description
To reporduce in Moodle 2.2.2+ (Build: 20120412)
- as admin 1) create a user USR 2) create a category CAT 3) turn debugging on
- assign to previously created user USR the manager role at category level CAT
- login as USR
- go to the category USR has manager role in
- turn editing on
- click on "add a sub category"
- the following error is displayed: Fatal error: Call to a member function get() on a non-object in ..../editcategory.php on line 139
It appears something related to navigation, as the line is
$PAGE->settingsnav->get('root')->get('courses')->get('coursemgmt')->make_active();
|
Attachments
Issue Links
- is duplicated by
-
MDL-34064 /course/editcategory.php can produce a fatal error
-
- Closed
-