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

Course quizzes page (index.php) ignores overrides and shows incorrect close date

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.4, 3.0.2, 3.3.3, 3.4, 3.5
    • Fix Version/s: 3.3.5, 3.4.2
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course with a student enrolled.
      2. Create a quiz with close date March 1, 2018, 00:00.
      3. Add a quiz user override for the student with close date April 1, 2018 00:00.
      4. Add the "Activities" block to the course.
      5. Login as the student and click on "Quizzes" in the course activities block.
      6. Cross-check the date displayed is April 1, 2018 12:00 am.
      7. Login as editingteacher and create a group in this course, add the student to the course.
      8. Add a quiz group override for the group with close date May 1, 2018 00:00.
      9. Login as the student and click on "Quizzes" in the course activities block.
      10. Cross-check the date displayed is May 1, 2018 12:00 am.
      Show
      Create a course with a student enrolled. Create a quiz with close date March 1, 2018, 00:00. Add a quiz user override for the student with close date April 1, 2018 00:00. Add the "Activities" block to the course. Login as the student and click on "Quizzes" in the course activities block. Cross-check the date displayed is April 1, 2018 12:00 am. Login as editingteacher and create a group in this course, add the student to the course. Add a quiz group override for the group with close date May 1, 2018 00:00. Login as the student and click on "Quizzes" in the course activities block. Cross-check the date displayed is May 1, 2018 12:00 am.
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-52832-master

      Description

      The course quizzes page does not take user/group overrides into account when displaying the quiz close date. This is confusing to students.

      To reproduce:

      1. Create a course with a student enrolled.
      2. Create a quiz with close date Feb 1, 2016
      3. Add a quiz user override for the student with close date March 1, 2016
      4. Add the "Activities" block to the course.
      5. Login as the student and click on "Quizzes" in the course activities block.

      Expected: Student will see March 1, 2016 as the close date
      Actual: Student sees Feb 1, 2016

      Group overrides have the same problem.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lucaboesch Luca Bösch
              Reporter:
              mpetrowi Matt Petro
              Peer reviewer:
              Tim Hunt
              Integrator:
              David Monllaó
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                19/Mar/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 25 minutes
                  25m