Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-66324

Webservice call complains about setting $PAGE->set_url()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7.1
    • Fix Version/s: None
    • Component/s: Web Services
    • Affected Branches:
      MOODLE_37_STABLE

      Description

      Noticed in logs with developer debugging on (loads of these)

      Debugging: This page did not call $PAGE->set_url(...). Using https://moodle.gla.ac.uk/webservice/rest/server.php?moodlewsrestformat=json&wsfunction=tool_mobile_call_external_functions in

      * line 600 of /lib/pagelib.php: call to debugging()
      * line 820 of /lib/pagelib.php: call to moodle_page->magic_get_url()
      * line 1637 of /calendar/lib.php: call to moodle_page->__get()
      * line 267 of /calendar/classes/external/day_exporter.php: call to calendar_top_controls()
      * line 182 of /calendar/classes/external/day_exporter.php: call to core_calendar
      external

      day_exporter->get_navigation()
      * line 101 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 307 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 3431 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 321 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
      * line 230 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 1233 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 90 of /blocks/classes/external.php: call to block_manager->get_content_for_all_regions()
      * line 165 of /blocks/classes/external.php: call to core_block_external::get_all_current_page_blocks()
      * line 244 of /lib/externallib.php: call to core_block_external::get_course_blocks()
      * line 534 of /admin/tool/mobile/classes/external.php: call to external_api::call_external_function()
      * line 1444 of /webservice/lib.php: call to tool_mobile
      external::call_external_functions()
      * line 1290 of /webservice/lib.php: call to webservice_base_server->execute()
      * line 44 of /webservice/rest/server.php: call to webservice_base_server->run()\n

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            howardsmiller Howard Miller
            Participants:
            Component watchers:
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: