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

Confirm self completion page misses navigation blocks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Navigation
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Moodle 2.0 Preview 4+ (Build: 20100713) - To reproduce:

      • in a course where completion is enabled, add Self completion block and allow self completion
      • login as student
      • click on "Complete course" link in the block
      • confirmation page misses navigation and has deprecated calls.

      Debugging messages:

      This page did not call $PAGE->set_url(...). Using http://tools/moodle20/course/togglecompletion.php?course=3

      • line 430 of /lib/pagelib.php: call to debugging()
      • line 583 of /lib/pagelib.php: call to moodle_page->magic_get_url()
      • line 2438 of /lib/navigationlib.php: call to moodle_page->__get()
      • line 2346 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
      • line 568 of /lib/pagelib.php: call to settings_navigation->initialise()
      • line 583 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
      • line 2148 of /lib/navigationlib.php: call to moodle_page->__get()
      • line 2234 of /lib/outputrenderers.php: call to navbar->get_items()
      • line 53 of /theme/base/layout/general.php: call to core_renderer->navbar()
      • line 612 of /lib/outputrenderers.php: call to include()
      • line 570 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      • line ? of unknownfile: call to core_renderer->header()
      • line 964 of /lib/setuplib.php: call to call_user_func_array()
      • line ? of unknownfile: call to bootstrap_renderer->__call()
      • line 2263 of /lib/deprecatedlib.php: call to bootstrap_renderer->header()
      • line 92 of /course/togglecompletion.php: call to print_header_simple()

      notice_yesno() has been deprecated. Please change your code to use $OUTPUT->confirm($message, $buttoncontinue, $buttoncancel).

      • line 3069 of /lib/deprecatedlib.php: call to debugging()
      • line 93 of /course/togglecompletion.php: call to notice_yesno()

      print_footer() has been deprecated. Please change your code to use $OUTPUT->footer().

      • line 2274 of /lib/deprecatedlib.php: call to debugging()
      • line 95 of /course/togglecompletion.php: call to print_footer()

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              andreabix Andrea Bicciolo
              Tester:
              Nobody
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10