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

Quiz review options: 'After the quiz is closed' should take precedence over 'Immediately after the attempt'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.6, 3.1.2
    • 3.0.5, 3.1.1
    • Quiz
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • Hide

      This test is time-critical, you may need to adjust the times to what you can manage. When you set timeclose to about 10 minutes in the future, you need time to add one question to the quiz, make a quiz attempt, wait 2 minutes, then start a second attempt.

      1. Create a quiz. Attempts allowed: 2. How questions behave: Deferred feedback. Timeclose about 10 minutes in the future.
      2. Set the review options:
        • Immediately after the attempt: The attempt and Whether correct.
        • Later while the quiz is open: The attempt only.
        • After the quiz is closed: All turned on.
      3. Add one true-false question (qtype does not matter providing it is automatically graded). Ensure there is some general feedback.
      4. Attempt the quiz as a student. Answer the question, and Submit all and finish.
      5. Verify: you should see the review page, and whether the question was correct, but no your mark or the general feedback.
      6. Wait 2 minutes and reload the review page. Verify: you should no longer see whether you got the qestion right.
      7. Finish review and start a second attempt.
      8. Answer the question, but no not submit. Instead wait for the time to expire and the quiz be auto-submitted.
      9. Verify: you should be taken to the review page with all information visible.
      10. Go back and review the first attempt. Verify: you can now see all the information about this attempt.

      The first attempt verifies that the old behaviour is not broken. The second attempt verifies the changed behaviour is now correct.

      Show
      This test is time-critical, you may need to adjust the times to what you can manage. When you set timeclose to about 10 minutes in the future, you need time to add one question to the quiz, make a quiz attempt, wait 2 minutes, then start a second attempt. Create a quiz. Attempts allowed: 2. How questions behave: Deferred feedback. Timeclose about 10 minutes in the future. Set the review options: Immediately after the attempt: The attempt and Whether correct. Later while the quiz is open: The attempt only. After the quiz is closed: All turned on. Add one true-false question (qtype does not matter providing it is automatically graded). Ensure there is some general feedback. Attempt the quiz as a student. Answer the question, and Submit all and finish. Verify: you should see the review page, and whether the question was correct, but no your mark or the general feedback. Wait 2 minutes and reload the review page. Verify: you should no longer see whether you got the qestion right. Finish review and start a second attempt. Answer the question, but no not submit. Instead wait for the time to expire and the quiz be auto-submitted. Verify: you should be taken to the review page with all information visible. Go back and review the first attempt. Verify: you can now see all the information about this attempt. The first attempt verifies that the old behaviour is not broken. The second attempt verifies the changed behaviour is now correct.

      This problem only maifests itself in specific situations:

      You need a quiz where the 'After the quiz is closed' review options are different from the 'Immediately after the attempt' ones.

      Then you either need to be a teacher, and preview a quiz after the close date. Or, you need to be a student who submits their quiz less than 2 minutes from the close date. (E.g. if the timer submits it automatically for you right at the last second.)

      After the quiz is closed, you expect the 'After the quiz is closed' options to apply.

      The 'Immediately after the attempt' options are just a way to break down the time between submitting the quiz, and the close date (if relevant).

            timhunt Tim Hunt
            timhunt Tim Hunt
            Sam Marshall Sam Marshall
            Dan Poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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