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

T&Q: Quiz by URL, console error: Uncaught TypeError: Cannot read property 'locale' of undefined

    XMLWordPrintable

    Details

    • 21 Status:
      Resolved
    • 20 status:
      Please Merge
    • Test Plan:
      Hide
      1. Create a quiz with a few questions
      2. Publish the quiz and copy the URL
      3. As the student, open the browser console
      4. Paste the URL for the quiz in the browser
      5. Log in and start the quiz

      Currently, once the student starts the quiz, the console errors display

       

      Show
      Create a quiz with a few questions Publish the quiz and copy the URL As the student, open the browser console Paste the URL for the quiz in the browser Log in and start the quiz Currently, once the student starts the quiz, the console errors display  

      Description

      There are no rubrics in either the 22x or 21x site, but if the student takes a quiz by URL, the console errors below display. If the student takes the same quiz from within the site by clicking on Tests & Quizzes, the errors do not display in the console.

      For a quick test, use the following URL and login as ndrew pw: sakai

      https://qa21-mysql.nightly.sakaiproject.org/samigo-app/servlet/Login?id=2dfb347a-45dc-4cce-a9f7-0098817566e31601941273772

       

      VM936 rubrics-element.js:6 Uncaught TypeError: Cannot read property 'locale' of undefined
      at new RubricsElement (VM936 rubrics-element.js:6)
      at new SakaiRubricStudentPreviewButton (VM934 sakai-rubric-student-preview-button.js:7)
      at VM934 sakai-rubric-student-preview-button.js:80
      RubricsElement @ VM936 rubrics-element.js:6
      SakaiRubricStudentPreviewButton @ VM934 sakai-rubric-student-preview-button.js:7
      (anonymous) @ VM934 sakai-rubric-student-preview-button.js:80

      VM1004 rubrics-element.js:6 Uncaught TypeError: Cannot read property 'locale' of undefined
      at new RubricsElement (VM1004 rubrics-element.js:6)
      at new SakaiRubricStudentPreviewButton (VM996 sakai-rubric-student-preview-button.js:7)
      at VM996 sakai-rubric-student-preview-button.js:80
      RubricsElement @ VM1004 rubrics-element.js:6
      SakaiRubricStudentPreviewButton @ VM996 sakai-rubric-student-preview-button.js:7
      (anonymous) @ VM996 sakai-rubric-student-preview-button.js:80

      rubrics-element.js?version=f56fb590:6 Uncaught TypeError: Cannot read property 'locale' of undefined
      at new RubricsElement (rubrics-element.js?version=f56fb590:6)
      at new SakaiRubricStudentPreviewButton (sakai-rubric-student-preview-button.js?version=f56fb590:7)
      at sakai-rubric-student-preview-button.js?version=f56fb590:80
      RubricsElement @ rubrics-element.js?version=f56fb590:6
      SakaiRubricStudentPreviewButton @ sakai-rubric-student-preview-button.js?version=f56fb590:7
      (anonymous) @ sakai-rubric-student-preview-button.js?version=f56fb590:80

       

        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:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration