LTI-GB: Console errors in GB for comment sent through LineItem

Description

I was retesting the LineItems from the LMS Test tool, created a Gradebook item, had the student send a score along with a comment. The student can view the score and comment in the Gradebook without errors. If the instructor tries to view the Gradebook comment, it does not display and there are console errors. 

To make sure this was related to the LMS Test tool, I created a Gradebook item, entered a score and a comment. The comment for the manually-created GB item displays without errors.

I did not see any errors in the server logs for this.

gradebook-gbgrade-table.js?version=4fe4a307:2761 Uncaught TypeError: Cannot read property 'replace' of undefined
at initializeMetadataSummary (gradebook-gbgrade-table.js?version=4fe4a307:2761)
at t.default.<anonymous> (gradebook-gbgrade-table.js?version=4fe4a307:2853)
at e.value (handsontable.full.min.js?version=4fe4a307:29)
at t.default.runHooks (handsontable.full.min.js?version=4fe4a307:29)
at e.<anonymous> (handsontable.full.min.js?version=4fe4a307:29)
at handsontable.full.min.js?version=4fe4a307:29
at r (handsontable.full.min.js?version=4fe4a307:29)
at e.runLocalHooks (handsontable.full.min.js?version=4fe4a307:29)
at e.value (handsontable.full.min.js?version=4fe4a307:35)
at e.value (handsontable.full.min.js?version=4fe4a307:35)
initializeMetadataSummary @ gradebook-gbgrade-table.js?version=4fe4a307:2761
(anonymous) @ gradebook-gbgrade-table.js?version=4fe4a307:2853
value @ handsontable.full.min.js?version=4fe4a307:29
runHooks @ handsontable.full.min.js?version=4fe4a307:29
(anonymous) @ handsontable.full.min.js?version=4fe4a307:29
(anonymous) @ handsontable.full.min.js?version=4fe4a307:29
r @ handsontable.full.min.js?version=4fe4a307:29
runLocalHooks @ handsontable.full.min.js?version=4fe4a307:29
value @ handsontable.full.min.js?version=4fe4a307:35
value @ handsontable.full.min.js?version=4fe4a307:35
i @ handsontable.full.min.js?version=4fe4a307:29
t.handleMouseEvent @ handsontable.full.min.js?version=4fe4a307:29
onCellMouseDown @ handsontable.full.min.js?version=4fe4a307:35
value @ handsontable.full.min.js?version=4fe4a307:29
value @ handsontable.full.min.js?version=4fe4a307:29
value @ handsontable.full.min.js?version=4fe4a307:29
(anonymous) @ handsontable.full.min.js?version=4fe4a307:29
i @ handsontable.full.min.js?version=4fe4a307:29

Attachments

4

Activity

Show:

Andrea Schmidt August 25, 2022 at 11:05 PM

Verified on 21x: https://qa21-mysql.nightly.sakaiproject.org/, build: 754f2238

Tested both with and without a comment

Andrea Schmidt July 3, 2022 at 3:11 PM
Edited

Verified on 22x: https://qa22-mysql.nightly.sakaiproject.org/, build: e33bddb1

There is no stacktrace when sending the grade without a comment or with a comment, and the grade does display in the GB in both cases. There is an issue with rubrics, though:

Andrea Schmidt June 13, 2022 at 11:30 PM
Edited

I retested this on 23x: https://trunk-mysql.nightly.sakaiproject.org/, build: 0a300a17

I reopened because I found an issue, but will set this to resolved > tested. If a comment is added, there are no console errors anymore when testing with Lessons. I will create a separate Jira for assignments (no score is passed), and another Jira for the 500 error when no comments are added (Lessons).

Andrea Schmidt May 10, 2022 at 11:26 PM

Retested again and the grade is still not being passed to the GB when using assignments:

23x: https://trunk-mysql.nightly.sakaiproject.org/, build: f02d5725

Andrea Schmidt May 7, 2022 at 3:38 PM

This is working from Lessons, am able to see the comment in the gradebook without any console errors. I don’t want to set this to verified yet until I can test it through Assignments and an LTI tool also, which is currently not working. The grade isn’t even being sent to the GB from Assignments at this point, but there are multiple issues currently that could be affecting this: ,

Fixed

Details

Priority

Affects versions

Fix versions

22 Status

Verified

Components

Assignee

Reporter

Environment

22x: https://trunk-mysql.nightly.sakaiproject.org/, build: 4fe4a307 Win10: Edge

Created September 16, 2020 at 8:27 PM
Updated August 25, 2022 at 11:05 PM
Resolved June 13, 2022 at 11:36 PM