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

mod_quiz: Or all available attempts completed setting value lost

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7.7, 3.8.4, 4.0
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_400_STABLE

      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              jebarvia Joshua Ebarvia
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: