-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.9.4, 3.0.2, 3.1
-
Component/s: Authentication, MNet
-
Testing Instructions:
-
Affected Branches:MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
Fixed Branches:MOODLE_29_STABLE, MOODLE_30_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-52975-master-mnet-context -
Pull Master Diff URL:
We have a moodle installation using Mnet. Whenwe jump to another Mnet Peer we have the following error on auth/ment/land.php file beacause the context is not set.
Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context(). The page may not display correctly as a result
line 453 of /lib/pagelib.php: call to debugging()
line 768 of /lib/pagelib.php: call to moodle_page->magic_get_context()
line 1381 of /lib/weblib.php: call to moodle_page->__get()
line 62 of /user/profile/field/menu/field.class.php: call to format_string()
line 565 of /user/profile/lib.php: call to profile_field_menu->profile_field_menu()
line 621 of /user/profile/lib.php: call to profile_user_record()
line 4581 of /lib/moodlelib.php: call to profile_load_custom_fields()
line 54 of /auth/mnet/land.php: call to get_complete_user_data()