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

Lessons, T&Q: Uncaught TypeError: this.enableUpdating is not a function

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. Add Lessons and Tests & Quizzes to your site
      2. Do NOT add rubrics
      3. Create a quiz and publish it
      4. Click on Lessons > Add Content and add the quiz to Lessons
      5. As the student, open your browser console
      6. Click on Lessons > quiz
      7. Take the quiz

      Expected: there should be no console errors

      Currently, as soon as the quiz question is displayed, the console error displays.

      Show
      Add Lessons and Tests & Quizzes to your site Do NOT add rubrics Create a quiz and publish it Click on Lessons > Add Content and add the quiz to Lessons As the student, open your browser console Click on Lessons > quiz Take the quiz Expected: there should be no console errors Currently, as soon as the quiz question is displayed, the console error displays.

      Description

      When the student takes a quiz through Lessons, there is now a new console error on 19.5 and 19.x. It is not on 20.1. There are no rubrics in the site.

      09:43:38.451 Uncaught TypeError: this.enableUpdating is not a function
      connectedCallback updating-element.js:358
      connectedCallback lit-element.ts:186
      appendStringAsNodes sakai-rubrics-utils.js:89
      initLightbox sakai-rubrics-utils.js:109
      set token sakai-rubric-student-preview-button.js:30
      _attributeToProperty updating-element.ts:625
      attributeChangedCallback updating-element.ts:573
      attributeChangedCallback sakai-rubric-student-preview-button.js:38
      <anonymous> sakai-rubric-student-preview-button.js:82
      updating-element.js:358:14
      connectedCallback updating-element.js:358
      connectedCallback lit-element.ts:186
      appendStringAsNodes sakai-rubrics-utils.js:89
      initLightbox sakai-rubrics-utils.js:109
      set token sakai-rubric-student-preview-button.js:30
      _attributeToProperty updating-element.ts:625
      attributeChangedCallback updating-element.ts:573
      attributeChangedCallback sakai-rubric-student-preview-button.js:38
      <anonymous> sakai-rubric-student-preview-button.js:82
      InnerModuleEvaluation self-hosted:1861
      InnerModuleEvaluation self-hosted:1861
      evaluation self-hosted:1832

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                maintenanceteam Core Team
                Reporter:
                agschmidt Andrea Schmidt
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration