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

Missing additional name fields in blog_rss_get_feed()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.7, 3.1.3
    • 3.1.1
    • Blog
    • MOODLE_31_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • Hide

      Prerequisites:

      • Enable the blog system (enableblogs) and RSS feeds (enablerssfeeds) on your system; both found in "Site administration -> Advanced features"
      • Set debugging to "Developer" level. Also, make sure that back-end PHP error messages are directed to a log file (e.g., Apache's error.log).
      • Add a course (C) and there, add the "Blog menu" block.
      • Enrol a user U into the course C.
      • Logged in as U, go to C, click "Add an entry about this course" and complete the form.

      Main steps:

      • Purge all caches (Site administration -> Developer -> Purge all caches)
      • Log in as U, go to C and click on "Blog RSS feed"
      • VERIFY: Feed is being displayed (e.g. in Firefox it's displayed in the browser window)
      • VERIFY: There is no new warning message in the error log.

      It may be best to first tun the "Main steps" above without the patch applied, to be sure that you are seeing the error messages; then run them with the patch applied and verify that the messages are now absent.

      Show
      Prerequisites: Enable the blog system (enableblogs) and RSS feeds (enablerssfeeds) on your system; both found in "Site administration -> Advanced features" Set debugging to "Developer" level. Also, make sure that back-end PHP error messages are directed to a log file (e.g., Apache's error.log). Add a course (C) and there, add the "Blog menu" block. Enrol a user U into the course C. Logged in as U, go to C, click "Add an entry about this course" and complete the form. Main steps: Purge all caches (Site administration -> Developer -> Purge all caches) Log in as U, go to C and click on "Blog RSS feed" VERIFY: Feed is being displayed (e.g. in Firefox it's displayed in the browser window) VERIFY: There is no new warning message in the error log. It may be best to first tun the "Main steps" above without the patch applied, to be sure that you are seeing the error messages; then run them with the patch applied and verify that the messages are now absent.

      Found while reviewing my PHP error log (While debugging was set to developer)

      php[6240]
      Debugging: You need to update your sql to include additional name fields in the user object. in

      • line 3273 of \lib\moodlelib.php: call to debugging()
      • line 235 of \blog\rsslib.php: call to fullname()
      • line 157 of \rss\file.php: call to blog_rss_get_feed()

            bostelm Henning Bostelmann
            sbourget Stephen Bourget
            Ankit Agarwal Ankit Agarwal
            Andrew Lyons Andrew Lyons
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.