Gradebook: console error if no students in course and instructor creates a GB item
GENERAL
TESTING
GENERAL
TESTING
Description
On 23x, if the instructor adds an item to an empty Gradebook (no students), there is a console error.
tooltip.js:465
Uncaught TypeError: Cannot read properties of undefined (reading 'trigger')
at je._setListeners (tooltip.js:465:35)
at new Pe (tooltip.js:123:10)
at new je (popover.js:42:1)
at gradebook-gbgrade-ta…on=ba14876c:3471:13
at Function.<anonymous> (gradebook-gbgrade-ta…on=ba14876c:3430:13)
at Function.each (jquery.js:370:19)
at GbGradeTable.runReadyCallbacks (gradebook-gbgrade-ta…ion=ba14876c:3428:7)
at GbGradeTable.renderTable (gradebook-gbgrade-ta…on=ba14876c:1344:16)
at HTMLDocument.<anonymous> (grades?focusAssignme…newItem=true:159:14)
at i (jquery.js:3232:31)
Resolving this as a duplicate as the fix is on SAK-50989
Automation for Jira
February 22, 2025 at 5:03 PM
A pull request has been created, "SAK-50990 Gradebook console error if no students in course and instructor creates a GB item", you can see it at https://github.com/sakaiproject/sakai/pull/13342
On 23x, if the instructor adds an item to an empty Gradebook (no students), there is a console error.
tooltip.js:465 Uncaught TypeError: Cannot read properties of undefined (reading 'trigger') at je._setListeners (tooltip.js:465:35) at new Pe (tooltip.js:123:10) at new je (popover.js:42:1) at gradebook-gbgrade-ta…on=ba14876c:3471:13 at Function.<anonymous> (gradebook-gbgrade-ta…on=ba14876c:3430:13) at Function.each (jquery.js:370:19) at GbGradeTable.runReadyCallbacks (gradebook-gbgrade-ta…ion=ba14876c:3428:7) at GbGradeTable.renderTable (gradebook-gbgrade-ta…on=ba14876c:1344:16) at HTMLDocument.<anonymous> (grades?focusAssignme…newItem=true:159:14) at i (jquery.js:3232:31)