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

Unexpected coding problem notice in userpix page

    XMLWordPrintable

    Details

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

      Description

      When testing user pictures bulk upload from zip in Moodle 2.0 we were eager to check that these pictures were indeed online but

      when calling http://mymoodle20/userpix/ with debug mode='full developper' I get on top of the the page

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

      • line 339 of /lib/pagelib.php: call to debugging()
      • line 597 of /lib/pagelib.php: call to moodle_page->magic_get_context()
      • line 1225 of /lib/weblib.php: call to moodle_page->__get()
      • line 881 of /lib/pagelib.php: call to format_string()
      • line 21 of /userpix/index.php: call to moodle_page->set_title()

      BTW: we do get the pictures as expected, but we would like to get rid of the debugging notice...

      so there is something wrong in userpix/index.php 's $PAGE setup

      Cheers

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            ppollet Patrick Pollet
            Tester:
            Nobody
            Participants:
            Component watchers:
            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