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

The mod_wiki\event\comments_viewed event contains undefined variable.

XMLWordPrintable

    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE
    • MDL-45789_master
    • Hide
      1. Create a wiki module.
      2. Click on the "Comments" tab.
      3. View <yoursite>/report/log/index.php and click 'Get these logs'.
      4. Check that the 'Comments viewed' description makes sense and that there are no empty quotations.
      Show
      Create a wiki module. Click on the "Comments" tab. View <yoursite>/report/log/index.php and click 'Get these logs'. Check that the 'Comments viewed' description makes sense and that there are no empty quotations.

      1. Create a wiki module.
      2. Click on the "Comments" tab.
      3. View <yoursite>/report/log/index.php and click 'Get these logs'.
      4. Notice that the 'Comments viewed' event has an empty quotation.

      eg. "The user with id '2' viewed a comment with id '5' on the page with id '' for the wiki with the course module id '76'."

      There should be no itemid in this event, as we are not viewing an individual comment but a page that may have multiple comments.

            markn Mark Nelson
            markn Mark Nelson
            Adrian Greeve Adrian Greeve
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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