Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71414

The attempt report for H5P drag-and-drop type questions is erroneous when answer elements are in multiple drop zones

XMLWordPrintable

    • 3
    • HQ 2023 Sprint I3.1 Moppies

      The attempt report for drag-and-drop type questions is erroneous, when answer elements are correct in multiple drop zones.

      Setup of the H5P question:

      I used a drag and drop question in the course presentation activity for testing, as this was the setup we first encountered the problem in, but i assume all uses of drag and drop questions are affected.

      The drag and drop question has two drop zones and four answers of which "Answer 1" is correct in both drop zones,  "Answer 2" and "Answer 3" are correct in either Dropzone 1 or 2 and answer 4 is correct in neither drop zone. During the attempt the correct answers were given by the person taking the test.

      The resulting attempt report for the question will be displayed like this:

      I would expect the result to be displayed like this (Created using inspect element / html edit):

      Steps to reproduce:

      1) Create a new .h5p file in the content store which contains a drag and drop question as outlined above. Or use the sample .h5p file provided in the attachment)

      2) Create a mod_h5pactivity activity in a course and use the previously created .h5p file in it

      3) Using a participant account attempt the activity entering the correct result for the question

      4) Check the attempt using either a student or a teacher account.

       

        1. course-presentation-2.h5p
          3.23 MB
          Nikolai Jahreis
        2. image-2021-04-24-09-43-10-420.png
          65 kB
          Nikolai Jahreis
        3. image-2023-06-12-16-45-01-651.png
          36 kB
          Laurent David
        4. image-2023-06-12-16-46-08-019.png
          34 kB
          Laurent David
        5. image-2023-06-13-06-26-12-896.png
          19 kB
          Laurent David
        6. image-2023-06-13-06-26-53-320.png
          31 kB
          Laurent David
        7. image-2023-07-31-10-48-58-203.png
          44 kB
          Laurent David
        8. image-2023-07-31-10-49-39-880.png
          46 kB
          Laurent David
        9. image-2023-08-10-12-10-03-676.png
          32 kB
          Laurent David
        10. image-2023-08-11-11-36-57-684.png
          30 kB
          Julia Verdaguer
        11. image-2023-08-17-09-11-13-776.png
          30 kB
          Laurent David
        12. image-2023-08-17-09-11-30-476.png
          31 kB
          Laurent David
        13. MDL-71414_small_bug.png
          26 kB
          Ferran Recio
        14. MDL-71414-UX_question.png
          37 kB
          Ferran Recio
        15. Screenshot_112.png
          34 kB
          Ferran Recio
        16. screenshot-1.png
          33 kB
          Laurent David

            laurent.david@moodle.com Laurent David
            njahreis Nikolai Jahreis
            Ferran Recio Ferran Recio
            Ilya Tregubov Ilya Tregubov
            CiBoT CiBoT
            Votes:
            9 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 6 hours, 40 minutes
                2d 6h 40m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.