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

Comment report javascript throws exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.1.3, 3.2
    • Fix Version/s: 3.1.4, 3.2.1
    • Component/s: Reports
    • Labels:

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              ryanwyllie Ryan Wyllie
              Peer reviewer:
              Adrian Greeve
              Integrator:
              Dan Poltawski
              Tester:
              Mark Nelson
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Jan/17