-
Bug
-
Resolution: Fixed
-
Minor
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-56050-master -
- Enable maintenance mode.
- Try to access report/log/index.php?id=1 as student.
- Make sure you don't get set_context errors.
During the testing of the MDL-55916 I've got the following error after enabling the maintenance mode and trying to access the log report as student:
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 458 of /lib/pagelib.php: call to debugging()
|
line 773 of /lib/pagelib.php: call to moodle_page->magic_get_context()
|
line 1418 of /lib/weblib.php: call to moodle_page->__get()
|
line 1164 of /lib/pagelib.php: call to format_string()
|
line 2943 of /lib/weblib.php: call to moodle_page->set_title()
|
line 2692 of /lib/moodlelib.php: call to print_maintenance_message()
|
line 108 of /report/log/index.php: call to require_login()
|
- Discovered while testing
-
MDL-55916 Maintenance mode should serve a http 503 instead of a 200
- Closed