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

Moving questions from section to section in quiz does not work

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      To test this

      1. Create a new quiz.
      2. Add headings and question (https://docs.moodle.org/35/en/Building_Quiz) to make this structure
        • Heading 1
          • Page 1
            • Question 1
            • Question 2
        • Heading 2
          • Page 2
            • Question 3
      3. Now, drag Question 2 towards the bottom and drop it between Heading 2 and Page 2 (like in the attachment "Triggers bug.png").
      4. When you release the mouse, the question will immediately move to after Page 2 (this is correct).
      5. Once the page has finished updating (progress twirly thing goes away), press F5 to reload the whole page. When the page reloads nothing should move. (Before this fix, sometimes, Q2 would move back to Page 1. That was the bug.)
      6. If necessary, move Q2 back to where it started, and then press F5 so you are ready to test again.
      7. This bug depended on exactly where Q2 was dropped, so repeat steps 3-6 above, dropping Q2 in a variety of different places, to make sure this bug is fixed in all cases.
      Show
      To test this Create a new quiz. Add headings and question ( https://docs.moodle.org/35/en/Building_Quiz ) to make this structure Heading 1 Page 1 Question 1 Question 2 Heading 2 Page 2 Question 3 Now, drag Question 2 towards the bottom and drop it between Heading 2 and Page 2 (like in the attachment "Triggers bug.png"). When you release the mouse, the question will immediately move to after Page 2 (this is correct). Once the page has finished updating (progress twirly thing goes away), press F5 to reload the whole page. When the page reloads nothing should move. (Before this fix, sometimes, Q2 would move back to Page 1. That was the bug.) If necessary, move Q2 back to where it started, and then press F5 so you are ready to test again. This bug depended on exactly where Q2 was dropped, so repeat steps 3-6 above, dropping Q2 in a variety of different places, to make sure this bug is fixed in all cases.
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull 3.5 Branch:
    • Pull Master Branch:

      Description

      • Create a quiz
      • fill in some questions
      • add some section headings (two or more questions per section)
      • move a question from one section to another
      • reload the page -> the question is still at its former position

        Attachments

        1. 1 quiz.png
          1 quiz.png
          325 kB
        2. 2 quiz.png
          2 quiz.png
          362 kB
        3. 3 quiz after reloading.png
          3 quiz after reloading.png
          358 kB
        4. Triggers bug.png
          Triggers bug.png
          10 kB
        5. Works.png
          Works.png
          10 kB
        6. image-2018-09-24-23-49-51-851.png
          image-2018-09-24-23-49-51-851.png
          10 kB
        7. image-2018-09-24-23-50-30-175.png
          image-2018-09-24-23-50-30-175.png
          11 kB
        8. image-2018-09-24-23-58-38-534.png
          image-2018-09-24-23-58-38-534.png
          12 kB
        9. image-2018-09-25-00-04-32-404.png
          image-2018-09-25-00-04-32-404.png
          7 kB
        10. image-2018-09-25-00-09-29-277.png
          image-2018-09-25-00-09-29-277.png
          9 kB
        11. image-2018-09-25-00-10-22-996.png
          image-2018-09-25-00-10-22-996.png
          9 kB
        12. image-2018-09-25-00-10-51-063.png
          image-2018-09-25-00-10-51-063.png
          9 kB
        13. image-2018-09-25-00-11-27-538.png
          image-2018-09-25-00-11-27-538.png
          9 kB
        14. image-2018-09-25-00-12-57-652.png
          image-2018-09-25-00-12-57-652.png
          3 kB
        15. image-2018-09-25-00-15-58-579.png
          image-2018-09-25-00-15-58-579.png
          3 kB
        16. image-2018-09-25-00-18-26-186.png
          image-2018-09-25-00-18-26-186.png
          201 kB
        17. image-2018-09-25-00-19-00-412.png
          image-2018-09-25-00-19-00-412.png
          9 kB

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            sehomer Sebastian Homer
            Peer reviewer:
            Luca Bösch
            Integrator:
            Jun Pataleta
            Tester:
            Anna Carissa Sadia
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/Nov/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m