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

Rubrics: Console error-Uncaught (in promise) ReferenceError: tr is not defined

    XMLWordPrintable

    Details

    • 19 status:
      Verified
    • Test Plan:
      Hide
      1. Have the browser console open
      2. Add rubrics to your site
      3. Click on rubrics

      Expected: no errors in the browser console

       

      Show
      Have the browser console open Add rubrics to your site Click on rubrics Expected: no errors in the browser console  

      Description

      This does not affect 19.4 or 20.1.

      When clicking on rubrics in the navigation, as the rubrics page loads there are console errors.

      19:21:56.892 sakai-rubric-criteria-readonly.js:30 Uncaught (in promise) ReferenceError: tr is not defined
      at sakai-rubric-criteria-readonly.js:30
      at Array.map (<anonymous>)
      at sakai-rubric-criteria-readonly.js:30
      at Array.map (<anonymous>)
      at HTMLElement.render (sakai-rubric-criteria-readonly.js:21)
      at HTMLElement.update (lit-element.ts:201)
      at HTMLElement.performUpdate (updating-element.ts:731)
      at HTMLElement._enqueueUpdate (updating-element.ts:696)
      (anonymous) @ sakai-rubric-criteria-readonly.js:30
      (anonymous) @ sakai-rubric-criteria-readonly.js:30
      render @ sakai-rubric-criteria-readonly.js:21
      update @ lit-element.ts:201
      performUpdate @ updating-element.ts:731
      _enqueueUpdate @ updating-element.ts:695
      async function (async)
      _enqueueUpdate @ updating-element.ts:682
      _requestUpdate @ updating-element.ts:662
      initialize @ updating-element.ts:482
      initialize @ lit-element.ts:131
      UpdatingElement @ updating-element.ts:505
      LitElement @ lit-element.ts:44
      SakaiElement @ sakai-element.js:3
      RubricsElement @ rubrics-element.js:8
      SakaiRubricCriteriaReadonly @ sakai-rubric-criteria-readonly.js:8
      _clone @ template-instance.ts:97
      __commitTemplateResult @ parts.ts:268
      commit @ parts.ts:219
      render @ render.ts:56
      render @ shady-render.ts:269
      update @ lit-element.ts:208
      performUpdate @ updating-element.ts:731
      _enqueueUpdate @ updating-element.ts:695
      async function (async)
      _enqueueUpdate @ updating-element.ts:682
      _requestUpdate @ updating-element.ts:662
      initialize @ updating-element.ts:482
      initialize @ lit-element.ts:131
      UpdatingElement @ updating-element.ts:505
      LitElement @ lit-element.ts:44
      SakaiElement @ sakai-element.js:3
      RubricsElement @ rubrics-element.js:8
      SakaiRubricReadonly @ sakai-rubric-readonly.js:11
      _clone @ template-instance.ts:97
      __commitTemplateResult @ parts.ts:268
      commit @ parts.ts:219
      updatePart @ repeat.ts:36
      (anonymous) @ repeat.ts:407
      commit @ parts.ts:208
      update @ template-instance.ts:53
      __commitTemplateResult @ parts.ts:269
      commit @ parts.ts:219
      render @ render.ts:56
      render @ shady-render.ts:269
      update @ lit-element.ts:208
      performUpdate @ updating-element.ts:731
      _enqueueUpdate @ updating-element.ts:695
      async function (async)
      _enqueueUpdate @ updating-element.ts:682
      _requestUpdate @ updating-element.ts:662
      set @ updating-element.ts:363
      (anonymous) @ sakai-rubrics-shared-list.js:52
      Promise.then (async)
      getSharedRubrics @ sakai-rubrics-shared-list.js:52
      attributeChangedCallback @ sakai-rubrics-shared-list.js:22
      commit @ parts.ts:94
      commit @ parts.ts:131
      update @ template-instance.ts:53
      __commitTemplateResult @ parts.ts:269
      commit @ parts.ts:219
      render @ render.ts:56
      render @ shady-render.ts:269
      update @ lit-element.ts:208
      performUpdate @ updating-element.ts:731
      _enqueueUpdate @ updating-element.ts:695
      async function (async)
      _enqueueUpdate @ updating-element.ts:682
      _requestUpdate @ updating-element.ts:662
      set @ updating-element.ts:363
      (anonymous) @ sakai-rubrics-manager.js:17
      Promise.then (async)
      SakaiRubricsManager @ sakai-rubrics-manager.js:17
      (anonymous) @ sakai-rubrics-manager.js:109

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration