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

Gradebook: console TypeError: Failed to fetch and logs missing key: 'chart.students.grade.message'

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      This is hit /miss - I haven't figured out how to consistently reproduce this. 

      1. Use Chrome and open the browser console
      2. In a brand new site, add some students
      3. Click on GB

      Do you see any console errors?

       

      Show
      This is hit /miss - I haven't figured out how to consistently reproduce this.  Use Chrome and open the browser console In a brand new site, add some students Click on GB Do you see any console errors?  

      Description

      I saw this the first time entering the GB in Chrome. I saw 5 console errors. I have seen this happen a couple of times lately, but do not know how to reproduce it. Actions taken this evening: created an assignment, sent it to the GB, but did not grade it. I was testing something else. Then I was going to test a GB settings Jira, and as soon as I clicked on the GB, I saw the console errors. I tried to reproduce in a new site and couldn't. I haven't seen the error in the site since the first time this evening, so not sure what causes this.

      There is also an error in the server logs.

      Server logs:

      13-Apr-2020 18:45:38.211 WARN [http-nio-20020-exec-2] org.sakaiproject.util.ResourceLoader.getString bundle 'org.sakaiproject.gradebookng.GradebookNgApplication' missing key: 'chart.students.grade.message' from: org.sakaiproject.gradebookng.framework.GradebookNgStringResourceLoader.loadString(GradebookNgStringResourceLoader.java:46)

      Chrome console error:

      18:45:36.616 VM3998 sakai-i18n.js:105 TypeError: Failed to fetch
      (anonymous) @ VM3998 sakai-i18n.js:105
      Promise.catch (async)
      (anonymous) @ VM3998 sakai-i18n.js:104
      loadProperties @ VM3998 sakai-i18n.js:78
      loadTranslations @ VM3990 sakai-element.js:40
      SakaiSubmissionMessager @ VM3956 sakai-submission-messager.js:16
      (anonymous) @ VM3918 gradebook-gbgrade-table.js:788
      afterGetColHeader @ VM3918 gradebook-gbgrade-table.js:787
      value @ VM3919 handsontable.full.min.js:29
      runHooks @ VM3919 handsontable.full.min.js:29
      f.appendColHeader @ VM3919 handsontable.full.min.js:35
      (anonymous) @ VM3919 handsontable.full.min.js:35
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      value @ VM3919 handsontable.full.min.js:29
      f.render @ VM3919 handsontable.full.min.js:35
      _refreshBorders @ VM3919 handsontable.full.min.js:29
      updateSettings @ VM3919 handsontable.full.min.js:29
      GbGradeTable.renderTable @ VM3918 gradebook-gbgrade-table.js:939
      (anonymous) @ (index):145
      i @ VM3922 jquery.min.js:2
      fireWith @ VM3922 jquery.min.js:2
      ready @ VM3922 jquery.min.js:2
      K @ VM3922 jquery.min.js:2

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                jcebellan Jose Cebellán (Entornos de Formación)
                Reporter:
                agschmidt Andrea Schmidt
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration