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

Lesson setting "Provide option to try a question again" is not working as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.7.3, 2.8.1, 3.3
    • Lesson
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_33_STABLE
    • MDL-48796-master
    • Hide
      1. Create a course.
      2. Enrol students.
      3. Create a Lesson activity for the particular course with settings:
        • Flow Control Section:
          • Provide option to try a question again: Yes
          • Maximum number of attempts: 3
      1. Add 2 questions to the lesson.
      2. Login as a Student (enrolled in the course).
      3. Attempt the lesson
      4. Answer the first question incorrectly
      5. Make sure you see the message "You have answered incorrectly. Would you like to attempt the question again? (If you now answer the question correctly, it will not count towards your final score.)" 
      6. Click on "Yes, I'd like to try again", attempt the question again and make sure to provide a correct answer before the 3 attempts are exhausted.
      7. Answer the second question correctly.
      8. The final score should be 1 (out of 2). Make sure that correct answers from a second, third, etc. try are not calculated in the final score.
      Show
      Create a course. Enrol students. Create a Lesson activity for the particular course with settings: Flow Control Section: Provide option to try a question again: Yes Maximum number of attempts: 3 Add 2 questions to the lesson. Login as a Student (enrolled in the course). Attempt the lesson Answer the first question incorrectly Make sure you see the message "You have answered incorrectly. Would you like to attempt the question again? (If you now answer the question correctly, it will not count towards your final score.)"  Click on "Yes, I'd like to try again", attempt the question again and make sure to provide a correct answer before the 3 attempts are exhausted. Answer the second question correctly. The final score should be  1 (out of 2) . Make sure that correct answers from a second, third, etc. try are not calculated in the final score.

      The help button for the lesson setting display:
      If enabled, when a question is answered incorrectly, the student is given the option to try it again for no point credit, or continue with the lesson.
      But this is not working

      Steps to reproduce
      create a lesson with settings:

      • Provide option to try a question again: Yes
      • Maximum number of attempts: 3

      Add some questions to the lesson
      As a student attempt the lesson
      For a question don't give the correct answer at the first try but get it right before the 3 attempts are exhausted.
      After your first incorrect answer you will see the message "You have answered incorrectly. Would you like to attempt the question again? (If you now answer the question correctly, it will not count towards your final score.)"
      but in fact you will still earn the point for this question.

      Previous patch:

      Pull from Repository: ** [git://github.com/jmvedrine/moodle.git]

      Pull Master Branch: ** MDL-48796

      Pull Master Diff URL: ** https://github.com/jmvedrine/moodle/compare/master...MDL-48796

            Geshoski Mihail Geshoski
            jmvedrine Jean-Michel Vedrine
            Simey Lameze Simey Lameze
            Damyon Wiese Damyon Wiese
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

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