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

Lesson: Restore the behaviour of "No, I just want to go on to the next question"

    Details

    • Testing Instructions:
      Hide
      1. Create a lesson with provide option to try a question again set to yes and maximum number of attempts set to 3.
      2. Create a simple lesson with 2 true/false questions. In the first question, set the "Wrong answer jump" to "This page". In the second question, set the "Wrong answer jump" to "Next page".
      3. Attempt the lesson as a student.
      4. Get the first question wrong.
      5. Click "No, I just want to go on to the next question". Check that you are redirected to the same question (because the jump is set to "This page").
      6. Now answer the question right so you can move to the next page.
      7. Get the second question wrong.
      8. Click "No, I just want to go on to the next question". Check that you are sent to the next page (or end of lesson if no more pages).
      Show
      Create a lesson with provide option to try a question again set to yes and maximum number of attempts set to 3. Create a simple lesson with 2 true/false questions. In the first question, set the "Wrong answer jump" to "This page". In the second question, set the "Wrong answer jump" to "Next page". Attempt the lesson as a student. Get the first question wrong. Click "No, I just want to go on to the next question". Check that you are redirected to the same question (because the jump is set to "This page"). Now answer the question right so you can move to the next page. Get the second question wrong. Click "No, I just want to go on to the next question". Check that you are sent to the next page (or end of lesson if no more pages).
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull 3.2 Branch:
    • Pull 3.3 Branch:
    • Pull Master Branch:
      MDL-59068-master

      Description

      The behaviour of this button changed in --MDL-54849--, but it should be reverted.

      When a teacher configures a wrong answer, he can specify the jump of that wrong answer. There are a lot of options: this page, next page, previous page, end of lesson, ...

      Before MDL-54859 was applied, when the user clicked "No, I just want to go on to the next question", Moodle applied the jump specified by the teacher. If the jump was "This page" (default value), the user was redirected to the same question, resulting in the problem reported in MDL-54849.

      Now it doesn't matter what the teacher configures: clicking the "No" button will always go to the next page. This isn't the right thing to do, it gives less flexibility to the teacher and makes the wrong-jump setting useless.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Sep/17