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

Comment report javascript throws exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.4, 3.2.1
    • 3.1, 3.1.3, 3.2
    • Reports

      When viewing the comments report as admin (site admin > reports > comments) with no comments in it the javascript throws an exception because it's unable to find an element it's expecting on the page.

      This appears to be broken on master and 3.1.

      comment.js:413 Uncaught TypeError: Cannot read property 'on' of null(…)init_admin @ comment.js:413(anonymous function) @ (index):674_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1089(anonymous function) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1005_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1089(anonymous function) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1226_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1089handleLoader @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1234_finish @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8152_onSuccess @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8201complete @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8440onSuccess @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8502_finish @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:4944_next @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5141_progress @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5249onLoad @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5041
      

            lameze Simey Lameze
            ryanwyllie Ryan Wyllie
            Adrian Greeve Adrian Greeve
            Dan Poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            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.