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

some admin pages not setting context properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Administration, Gradebook
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      For example when /grade/edit/outcome/edit.php editing a scale I get the following. Check all gradebook admin pages to make sure they all are.

      Coding problem: this page does not set $PAGE->context properly.

      • line 339 of /lib/pagelib.php: call to debugging()
      • line 1219 of /lib/pagelib.php: call to moodle_page->magic_get_context()
      • line 1126 of /lib/setuplib.php: call to moodle_page->initialise_theme_and_output()
      • line ? of unknownfile: call to bootstrap_renderer->__call()
      • line 1209 of /lib/formslib.php: call to bootstrap_renderer->pix_url()
      • line 147 of /lib/formslib.php: call to MoodleQuickForm->MoodleQuickForm()
      • line 109 of /grade/edit/outcome/edit.php: call to moodleform->moodleform()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andyjdavis Andrew Davis
              Reporter:
              andyjdavis Andrew Davis
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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