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

Viewing a single blog entry shows an error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2, 2.3
    • 2.2.2
    • Blog
    • Appeared on qa.moodle.net and a test server of 2.2 beta.
    • MySQL
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE
    • wip-MDL-30540-master
    • Hide
      1. Log in in any role
      2. Navigate to Site pages -> Blogs
      3. If there are no blog entries, add one
      4. Click on the title for a blog entry

      No errors should be displayed.

      Show
      Log in in any role Navigate to Site pages -> Blogs If there are no blog entries, add one Click on the title for a blog entry No errors should be displayed.

    Description

      When viewing a single blog entry, the following error is shown.

      Can not change context instance properties!
       
          line 4642 of \lib\accesslib.php: call to debugging()
          line 317 of \blog\lib.php: call to context->__set()
          line 698 of \blog\lib.php: call to blog_get_context_url()
          line 824 of \blog\locallib.php: call to blog_get_headers()
          line 234 of \blog\index.php: call to blog_listing->print_entries()

      The entry still displays.

      Replication steps:

      1. Log in in any role
      2. Navigate to Site pages -> Blogs
      3. If there are no blog entries, add one
      4. Click on the title for a blog entry

      The error above should appear.

      Attachments

        Issue Links

          Activity

            People

              phalacee Jason Fowler
              salvetore Michael de Raadt
              Sam Hemelryk Sam Hemelryk
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Andrew Davis Andrew Davis
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Mar/12