Gradebook: console error if no students in course and instructor creates a GB item

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)
image-20250211-191113.png

Attachments

2
  • 11 Feb 2025, 07:12 PM

Activity

Show:

Earle Nietzel February 24, 2025 at 8:09 PM

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

Duplicate

Details

Priority

Affects versions

Components

Assignee

Reporter

Environment

23x: https://qa23-maria.nightly.sakaiproject.org/, build: ba14876c
Created February 11, 2025 at 7:12 PM
Updated February 24, 2025 at 8:09 PM
Resolved February 24, 2025 at 8:08 PM

Flag notifications