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

mod_quiz: Or all available attempts completed setting value lost

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.7.7, 3.8.4, 3.9.4, 3.11.4
    • 3.11.5
    • Quiz
    • MOODLE_311_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_311_STABLE
    • MDL-69496_311
    • MDL-69496_Master
    • Hide

      Set up

      1. Create a course.
      2. Enrol a student.
      3. Add a Quiz activity.
        • Grade to pass: 5
        • Attempts allowed: 1
        • Completion tracking: Show activity as complete when conditions are met
        • Student must view this activity to complete it: ticked
        • Student must receive a grade to complete this activity: ticked
        • Require passing grade: ticked
        • Or all available attempts completed: ticked
      4. Save the activity and add a true/false question onto it.
      5. Log in as the student.
      6. Take the quiz and make sure you submit the correct answer. The completion for the activity should be ticked on the course contents page.

      Test

      1. Log back as the teacher/admin.
      2. Edit the Quiz setting and check that the "Or all available attempts completed" is ticked.
      3. Save the Quiz setting, without changing anything.
      4. Open the Quiz settings form again.
      5. Verify that the value for "Or all available attempts completed" is still ticked.
      Show
      Set up Create a course. Enrol a student. Add a Quiz activity. Grade to pass: 5 Attempts allowed: 1 Completion tracking: Show activity as complete when conditions are met Student must view this activity to complete it: ticked Student must receive a grade to complete this activity: ticked Require passing grade: ticked Or all available attempts completed: ticked Save the activity and add a true/false question onto it. Log in as the student. Take the quiz and make sure you submit the correct answer. The completion for the activity should be ticked on the course contents page. Test Log back as the teacher/admin. Edit the Quiz setting and check that the "Or all available attempts completed" is ticked. Save the Quiz setting, without changing anything. Open the Quiz settings form again. Verify that the value for "Or all available attempts completed" is still ticked.

    Description

      The value for the quiz setting Or all available attempts completed setting gets lost when a teacher edit/saves the activity when a student has already completed it.

      1. Create a course.
      2. Enrol two students.
      3. Turn editing on.
      4. Add a Quiz activity.
        • Grade to pass: 5
        • Attempts allowed: 1
        • Completion tracking: Show activity as complete when conditions are met
        • Student must view this activity to complete it: ticked
        • Student must receive a grade to complete this activity: ticked
        • Require passing grade: ticked
        • Or all available attempts completed: ticked
      5. Save the activity and add a true/false question onto it.
      6. Log in as one of the students.
      7. Take the quiz and make sure you submit the correct answer. The completion for the activity should be ticked on the course contents page.
      8. Log back as the teacher/admin.
      9. Edit the Quiz setting and check that the "Or all available attempts completed" is ticked.
      10. Save the Quiz setting, without changing anything.
      11. Edit the Quiz setting again. Check the value for "Or all available attempts completed".
        Result: The setting is now unticked/disabled.

      Attachments

        Issue Links

          Activity

            People

              BlackJack Jeffrey Black
              jebarvia Joshua Ebarvia
              Tim Hunt Tim Hunt
              Ilya Tregubov Ilya Tregubov
              Gladys Basiana Gladys Basiana
              Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              5 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/Jan/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 45 minutes
                  45m