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

Assignment page context coding problem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Assignment (2.2)
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Please see MDL-24034 for steps to reproduce the following error message:

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

      • line 337 of /lib/pagelib.php: call to debugging()
      • line 594 of /lib/pagelib.php: call to moodle_page->magic_get_context()
      • line 1221 of /lib/weblib.php: call to moodle_page->__get()
      • line 136 of /mod/assignment/lib.php: call to format_string()
      • line 39 of /mod/assignment/type/upload/assignment.class.php: call to assignment_base->assignment_base()
      • line 68 of /mod/assignment/locallib.php: call to assignment_upload->assignment_upload()
      • line 189 of /portfolio/add.php: call to assignment_portfolio_caller->load_data()

      Notice: Trying to get property of non-object in /var/www/head/moodle/mod/assignment/locallib.php on line 80

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samhemelryk Sam Hemelryk
                Reporter:
                tsala Helen Foster
                Tester:
                Nobody
                Participants:
                Component watchers:
                Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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