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

Multi choice question with multi answers enabled is not processing correctly invalid responses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.1.6, 3.2.3, 3.3
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide
      1. Follow steps 1-8 from the description
      2. As student, select the incorrect answer II and check that you are redirected to the content page "incorrect answer II"
      3. Attempt (re-take) again the lesson choosing answer I and check that you are redirected to the content page "incorrect answer I"
      4. Attempt (re-take) again the lesson choosing incorrect answer I and incorrect answer II and check that you are redirected to the content page "incorrect answer I"
      5. Attempt (re-take) again the lesson choosing the correct answer and check that you are redirected to the content page "correct page"
      6. Attempt (re-take) again the lesson choosing the incorrect answer II and the correct answer and check that you are redirected to the content page "incorrect answer II"
      7. Attempt (re-take) again the lesson choosing the incorrect answer I and the correct answer and check that you are redirected to the content page "incorrect answer I"
      8. Reconfigure the lesson disabling the multi-answer options and
      9. Check that if you select the correct answer you are redirected to the correct content page
      10. Check that if you select the incorrect answer II you are redirected to the content page "incorrect answer II"
      11. Check that if you select the incorrect answer I you are redirected to the content page "incorrect answer I"
      Show
      Follow steps 1-8 from the description As student, select the incorrect answer II and check that you are redirected to the content page "incorrect answer II" Attempt (re-take) again the lesson choosing answer I and check that you are redirected to the content page "incorrect answer I" Attempt (re-take) again the lesson choosing incorrect answer I and incorrect answer II and check that you are redirected to the content page "incorrect answer I" Attempt (re-take) again the lesson choosing the correct answer and check that you are redirected to the content page "correct page" Attempt (re-take) again the lesson choosing the incorrect answer II and the correct answer and check that you are redirected to the content page "incorrect answer II" Attempt (re-take) again the lesson choosing the incorrect answer I and the correct answer and check that you are redirected to the content page "incorrect answer I" Reconfigure the lesson disabling the multi-answer options and Check that if you select the correct answer you are redirected to the correct content page Check that if you select the incorrect answer II you are redirected to the content page "incorrect answer II" Check that if you select the incorrect answer I you are redirected to the content page "incorrect answer I"
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58668-master

      Description

      This was found by Dani Palou while testing the lesson module in the mobile app.

      To reproduce:

      1. Create a lesson with re-takes enabled
      2. Create a content page (Jump to incorrect answer I)
      3. Create a content page (Jump to incorrect answer II)
      4. Create a content page (Jump to correct page)
      5. Create a multi choice enabling multi answers
      6. Use 3 options, the two invalid ones with jumps to the Jump to incorrect answer x pages (for example Invalid option I -> Jump to incorrect answer I)
      7. The correct option jumping to the correct page
      8. Move the multi choice page to be the first one in the lesson
      9. Now, as student, select the incorrect answer II
      10. You should jump to the incorrect answer II content page, but instead you will jump to the incorrect answer I content page

        Attachments

          Activity

            People

            Assignee:
            jleyva Juan Leyva
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Dani Palou
            Integrator:
            Jun Pataleta
            Tester:
            Jun Pataleta
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/May/17