-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.2
-
MOODLE_39_STABLE
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
MDL-70141-master -
When the mobile app requests dashboard blocks for a user, it calls the core_block_get_dashboard_blocks API. If there is a calendar block then this warning gets logged on the server:
[05-Nov-2020 09:23:51 Europe/London] Debugging: This page did not call $PAGE->set_url(...). Using https://_example.org_/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=core_block_get_dashboard_blocks in
- line 610 of /lib/pagelib.php: call to debugging()
- line 830 of /lib/pagelib.php: call to moodle_page->magic_get_url()
- line 1663 of /calendar/lib.php: call to moodle_page->__get()
- line 275 of /calendar/classes/external/day_exporter.php: call to calendar_top_controls()
- line 186 of /calendar/classes/external/day_exporter.php: call to core_calendar\external\day_exporter->get_navigation()
- line 104 of /calendar/classes/external/week_day_exporter.php: call to core_calendar\external\day_exporter->get_other_values()
- line 125 of /lib/classes/external/exporter.php: call to core_calendar\external\week_day_exporter->get_other_values()
- line 164 of /calendar/classes/external/week_exporter.php: call to core\external\exporter->export()
- line 125 of /lib/classes/external/exporter.php: call to core_calendar\external\week_exporter->get_other_values()
- line 306 of /calendar/classes/external/month_exporter.php: call to core\external\exporter->export()
- line 215 of /calendar/classes/external/month_exporter.php: call to core_calendar\external\month_exporter->get_weeks()
- line 125 of /lib/classes/external/exporter.php: call to core_calendar\external\month_exporter->get_other_values()
- line 3483 of /calendar/lib.php: call to core\external\exporter->export()
- line 55 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_view()
- line 341 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
- line 235 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
- line 1181 of /lib/blocklib.php: call to block_base->get_content_for_output()
- line 1239 of /lib/blocklib.php: call to block_manager->create_block_contents()
- line 334 of /lib/blocklib.php: call to block_manager->ensure_content_created()
- line 100 of /blocks/classes/external.php: call to block_manager->get_content_for_all_regions()
- line 271 of /blocks/classes/external.php: call to core_block_external::get_all_current_page_blocks()