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

Quiz cron uses wrong quiz close date when group overrides are being used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.3.3
    • 2.3.2
    • Quiz
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • Hide

      The particular case that was failing is:

      1. Create a quiz with a close date in the future
      2. Create a quiz group override with a close date in the past
      3. Start an attempt using a student not in the overridden group
      4. Run the moodle cron (and ensure update_overdue_attempts() runs). The student's attempt should NOT be closed.

      You may also wish to test some other cases. For example, create an attempt by a student in the overridden group before the group close date passes, as well, and make sure that is still closed.

      Show
      The particular case that was failing is: 1. Create a quiz with a close date in the future 2. Create a quiz group override with a close date in the past 3. Start an attempt using a student not in the overridden group 4. Run the moodle cron (and ensure update_overdue_attempts() runs). The student's attempt should NOT be closed. You may also wish to test some other cases. For example, create an attempt by a student in the overridden group before the group close date passes, as well, and make sure that is still closed.

    Description

      To reproduce:

      1. Create a quiz with a close date in the future
      2. Create a quiz group override with a close date in the past
      3. Start an attempt using a student not in the overridden group
      4. Run the moodle cron (and ensure update_overdue_attempts() runs)

      The active student quiz attempt will be closed.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              mpetrowi Matt Petro
              Dan Poltawski Dan Poltawski
              Adrian Greeve Adrian Greeve
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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