Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41628

GB: Console errors when entering grade for student

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. Open the browser console
      2. You will need a site with a few students
      3. Create a couple of gradebook items
      4. Click in one of the cells to grade a student and enter a score

      Currently errors display in the browser console

      Show
      Open the browser console You will need a site with a few students Create a couple of gradebook items Click in one of the cells to grade a student and enter a score Currently errors display in the browser console

      Description

      Chrome, Firefox and Edge all display an error in the browser console if the user clicks into a cell and enters a grade.

      Chrome:

      gradebook-gbgrade-table.js?version=:654 Uncaught TypeError: Cannot read property 'data' of undefined
      at Object.GbGradeTableEditor.beginEditing (gradebook-gbgrade-table.js?version=:654)
      at u.openEditor (handsontable.full.min.js?version=:35)
      at t.default.g (handsontable.full.min.js?version=:35)
      at e.value (handsontable.full.min.js?version=:29)
      at t.default.runHooks (handsontable.full.min.js?version=:29)
      at HTMLHtmlElement.<anonymous> (handsontable.full.min.js?version=:35)
      at HTMLHtmlElement.i (handsontable.full.min.js?version=:29)
      GbGradeTableEditor.beginEditing @ gradebook-gbgrade-table.js?version=:654
      openEditor @ handsontable.full.min.js?version=:35
      g @ handsontable.full.min.js?version=:35
      value @ handsontable.full.min.js?version=:29
      runHooks @ handsontable.full.min.js?version=:29
      (anonymous) @ handsontable.full.min.js?version=:35
      i @ handsontable.full.min.js?version=:29

       

      Firefox:

      TypeError: GbGradeTable.instance.view.settings.columns[col] is undefined[Learn More] gradebook-gbgrade-table.js:654:11
      beginEditing https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/scripts/gradebook-gbgrade-table.js?version=:654
      openEditor https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/handsontable/6.2.2/handsontable.full.min.js?version=:35
      g https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/handsontable/6.2.2/handsontable.full.min.js?version=:35
      value https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/handsontable/6.2.2/handsontable.full.min.js?version=:29
      runHooks https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/handsontable/6.2.2/handsontable.full.min.js?version=:29
      u https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/handsontable/6.2.2/handsontable.full.min.js?version=:35
      i https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/handsontable/6.2.2/handsontable.full.min.js?version=:29

      Edge:

      0: Unable to get property 'data' of undefined or null reference
      gradebook-gbgrade-table.js (653,6)

      0: Unable to get property 'nodeType' of undefined or null reference
      handsontable.full.min.js (28,8961)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  a.fish@lancaster.ac.uk Adrian Fish
                  Reporter:
                  agschmidt Andrea Schmidt
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration