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

T&Q: HotSpot Question - Uncaught TypeError: Cannot read property '1' of null - only the first one has the areas marked in the student feedback

    XMLWordPrintable

    Details

    • 21 Status:
      Please Merge
    • 20 status:
      Please Merge
    • 19 status:
      Please Merge
    • Test Plan:
      Hide
      1. Create a Hot Spot quiz with multiple hot spot questions
      2. Under Settings > Grading and Feedback select Feedback on Submission
      3. Select all items under "Release Questions and the following:"
      4. Publish the quiz
      5. As a student, take the quiz marking areas for each question
      6. After submitting the quiz, click Feedback

      Expected:

      The student's selected areas should be visible in all images

      Show
      Create a Hot Spot quiz with multiple hot spot questions Under Settings > Grading and Feedback select Feedback on Submission Select all items under "Release Questions and the following:" Publish the quiz As a student, take the quiz marking areas for each question After submitting the quiz, click Feedback Expected: The student's selected areas should be visible in all images

      Description

      I created a quiz with 3 Hot Spot questions and the student answered all 3. Only the first image has the areas marked that the student selected.

      Console error (do not see any errors in server logs):

      mainIndex:1193 Uncaught TypeError: Cannot read property '1' of null
      at HTMLDivElement.<anonymous> (mainIndex:1193)
      at Function.each (jquery.js:370)
      at a.fn.init.each (jquery.js:137)
      at mainIndex:1190
      at dispatch (jquery.js:5226)
      at r.handle (jquery.js:4878)
      (anonymous) @ mainIndex:1193
      each @ jquery.js:370
      each @ jquery.js:137
      (anonymous) @ mainIndex:1190
      dispatch @ jquery.js:5226
      r.handle @ jquery.js:4878
      load (async)
      add @ jquery.js:4932
      a.event.add @ jquery-migrate.min.js?version=b971b15b:2
      (anonymous) @ jquery.js:4832
      each @ jquery.js:370
      each @ jquery.js:137
      sa @ jquery.js:4831
      on @ jquery.js:5816
      (anonymous) @ bootstrap.min.js?version=b971b15b:6
      (anonymous) @ bootstrap.min.js?version=b971b15b:6

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

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

                    Dates

                    Created:
                    Updated:

                      Git Integration