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

GB Console Errors: Uncaught ReferenceError: studentGradeRange is not defined

    XMLWordPrintable

    Details

    • 19 status:
      Verified
    • Test Plan:
      Hide

      With the browser console open:

      Test1 (20x or 19x):

      1. Create several gradebook items
      2. Enter grades for the students
      3. Click on View Course Grade Statistics (drop-down under Course Grades)
      4. Scroll down to see the complete chart - the majority of the time there is a console error
      5. Click on a student's name to bring up the grade summary
      6. Click on the Student Review Mode tab
      7. Click on one of the graph icons - uncaught reference error currently displays

      Test2 (19x only due to SAK-42211 for 20):

      1. On 19x, add a TA to the site and give the TA permissions to grade all sections/groups
      2. Create several gradebook items and assign grades
      3. As the TA, click on Gradebook and click on View Grade Statistics (drop-down under one of the GB items) - see the console error
      Show
      With the browser console open: Test1 (20x or 19x): Create several gradebook items Enter grades for the students Click on View Course Grade Statistics (drop-down under Course Grades) Scroll down to see the complete chart - the majority of the time there is a console error Click on a student's name to bring up the grade summary Click on the Student Review Mode tab Click on one of the graph icons - uncaught reference error currently displays Test2 (19x only due to  SAK-42211 for 20): On 19x, add a TA to the site and give the TA permissions to grade all sections/groups Create several gradebook items and assign grades As the TA, click on Gradebook and click on View Grade Statistics (drop-down under one of the GB items) - see the console error

      Description

      These errors don't show up every time, but they show up a majority of the time in the console for GB. When using Firefox, you're almost guaranteed to get the errors.

      19x-Instructor: Course Grade Statistics
      FIREFOX
      ReferenceError: studentGradeRange is not defined gradebook-chart.js:91:12
      afterTitle https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/scripts/gradebook-chart.js?version=:91
      getTitle https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      update https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      handleEvent https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      eventHandler https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      n https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      <anonymous> https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10

      CHROME
      gradebook-chart.js?version=:91 Uncaught ReferenceError: studentGradeRange is not defined
      at n.afterTitle (gradebook-chart.js?version=:91)
      at n.getTitle (Chart.min.js?version=:10)
      at n.update (Chart.min.js?version=:10)
      at n.handleEvent (Chart.min.js?version=:10)
      at t.eventHandler (Chart.min.js?version=:10)
      at n (Chart.min.js?version=:10)
      at HTMLCanvasElement.o.<computed> (Chart.min.js?version=:10)
      afterTitle @ gradebook-chart.js?version=:91
      getTitle @ Chart.min.js?version=:10
      update @ Chart.min.js?version=:10
      handleEvent @ Chart.min.js?version=:10
      eventHandler @ Chart.min.js?version=:10
      n @ Chart.min.js?version=:10
      o.<computed> @ Chart.min.js?version=:10

      20x-Instructor: Course Grade Statistics
      FIREFOX
      ReferenceError: studentGradeRange is not defined gradebook-chart.js:91:12
      afterTitle https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/scripts/gradebook-chart.js?version=:91
      getTitle https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      update https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      handleEvent https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      eventHandler https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      n https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      <anonymous> https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10

      TypeError: e.title is undefined 2 Chart.min.js:10:103978
      draw https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      draw https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      render https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      callback https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      advance https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      startDigest https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      request https://trunk-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10

      CHROME:
      gradebook-chart.js?version=:91 Uncaught ReferenceError: studentGradeRange is not defined
      at n.afterTitle (gradebook-chart.js?version=:91)
      at n.getTitle (Chart.min.js?version=:10)
      at n.update (Chart.min.js?version=:10)
      at n.handleEvent (Chart.min.js?version=:10)
      at t.eventHandler (Chart.min.js?version=:10)
      at n (Chart.min.js?version=:10)
      at HTMLCanvasElement.o.<computed> (Chart.min.js?version=:10)
      afterTitle @ gradebook-chart.js?version=:91
      getTitle @ Chart.min.js?version=:10
      update @ Chart.min.js?version=:10
      handleEvent @ Chart.min.js?version=:10
      eventHandler @ Chart.min.js?version=:10
      n @ Chart.min.js?version=:10
      o.<computed> @ Chart.min.js?version=:10

      19x-TA: Grade statistics for a single GB item
      FIREFOX
      ReferenceError: studentGradeRange is not defined gradebook-chart.js:86:12
      afterTitle https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/scripts/gradebook-chart.js?version=:86
      getTitle https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      update https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      handleEvent https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      eventHandler https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      n https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10
      <anonymous> https://qa19-mysql.nightly.sakaiproject.org/gradebookng-tool/webjars/chartjs/2.7.0/Chart.min.js?version=:10

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jesusmmp Jesus Maria Mendez
                  Reporter:
                  agschmidt Andrea Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code