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

removing group override in quiz does not delete the calendar event.

XMLWordPrintable

    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_25_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-27230-master
    • Easy
    • Hide
      Set up
      1. Login as a teacher t1.
      2. In a course, enrol students s1 and s2.
      3. Navigate to the course, and click on "Participants"
      4. On the Participants page, click on the actions menu icon (cog icon) and select "Groups".
      5. Create a group g1.
      6. Add the s1 to group g1.
      7. Add a quiz to the course. Set timing → "Open the quiz": date to a date later in the day, say 6:00 PM
      8. Click "Save and display"
      9. On the quiz page, click on the actions menu icon (cog icon), then select "Group overrides"
      10. Add an override for the group g1 and set a different date/time for the "Open the quiz" field (e.g. 7:00 PM).
      11. Save the group override.
      12. Go back to the quiz page, click again on the actions menu icon, but this time, click "User overrides"
      13. Add a user override for s2 and set a different date/time for the "Open the quiz" field (e.g. 8:00 PM).
      14. Save the user override.
      15. Go back to the course page.
      16. Turn editing on and click "Add a block".
      17. Select "Upcoming events".
      18. Check the Upcoming events block.
        • As t1, you should see in the Upcoming events block that the quiz opens at 6:00 PM
      Group overrides
      1. Log in as s1 and navigate to the course.
      2. Check the Upcoming events block.
        • You should see in the Upcoming events block that the quiz opens at 7:00 PM (because the group override for g1 for the quiz has been set)
      3. Log in as s2 and navigate to the course.
      4. Check the Upcoming events block.
        • You should see in the Upcoming events block that the quiz opens at 8:00 PM (because the user override for s2 for the quiz has been set)
      5. Log in as t1 and go to the quiz.
      6. On the quiz page, click on the actions menu icon (cog icon), then select "Group overrides"
      7. Delete the group override for g1.
      8. Log in as s1 and navigate to the course page.
      9. Check the Upcoming events block.
        • Confirm that the Upcoming event block says the quiz opens at 6:00 PM (because the group override has been deleted)
      User overrides
      1. Login as s2 and navigate to the course.
      2. Check the Upcoming events block.
        • You should see in the Upcoming event block says the quiz opens at 8:00 PM (because the user override for s2 for the quiz has been set)
      3. Login as t1 and go to the quiz page.
      4. On the quiz page, click again on the actions menu icon, and click "User overrides"
      5. Delete the user override for s2.
      6. Log in as s2.
        • Confirm that the Upcoming event block says the quiz opens at 6:00 PM (because the user override has been deleted)
      Show
      Set up Login as a teacher t1. In a course, enrol students s1 and s2. Navigate to the course, and click on " Participants " On the Participants page, click on the actions menu icon (cog icon) and select " Groups ". Create a group g1. Add the s1 to group g1. Add a quiz to the course. Set timing → "Open the quiz": date to a date later in the day, say 6:00 PM Click " Save and display " On the quiz page, click on the actions menu icon (cog icon), then select " Group overrides " Add an override for the group g1 and set a different date/time for the " Open the quiz " field (e.g. 7:00 PM). Save the group override. Go back to the quiz page, click again on the actions menu icon, but this time, click " User overrides " Add a user override for s2 and set a different date/time for the " Open the quiz " field (e.g. 8:00 PM). Save the user override. Go back to the course page. Turn editing on and click " Add a block ". Select " Upcoming events ". Check the Upcoming events block. As t1, you should see in the Upcoming events block that the quiz opens at 6:00 PM Group overrides Log in as s1 and navigate to the course. Check the Upcoming events block. You should see in the Upcoming events block that the quiz opens at 7:00 PM (because the group override for g1 for the quiz has been set) Log in as s2 and navigate to the course. Check the Upcoming events block. You should see in the Upcoming events block that the quiz opens at 8:00 PM (because the user override for s2 for the quiz has been set) Log in as t1 and go to the quiz. On the quiz page, click on the actions menu icon (cog icon), then select " Group overrides " Delete the group override for g1. Log in as s1 and navigate to the course page. Check the Upcoming events block. Confirm that the Upcoming event block says the quiz opens at 6:00 PM (because the group override has been deleted) User overrides Login as s2 and navigate to the course. Check the Upcoming events block. You should see in the Upcoming event block says the quiz opens at 8:00 PM (because the user override for s2 for the quiz has been set) Login as t1 and go to the quiz page. On the quiz page, click again on the actions menu icon, and click " User overrides " Delete the user override for s2. Log in as s2. Confirm that the Upcoming event block says the quiz opens at 6:00 PM (because the user override has been deleted)

      To reproduce the issue:

      • In a course, enrol a student and create a group.
      • Create a group. Add the student to the group.
      • As teacher, add a quiz to the course. Set timing → "Open the quiz": date to a date later in the day, say 6:00 PM
      • Go to Quiz administration → Group overrides
      • Add a override ("Open the quiz": date), a different one, say 7:00 PM for the group and save.
      • In course, turn edit on and Add a block Upcoming event. You see in the block that a quiz opens at 6:00 PM
      • Log in as the student.
      • You see in the block that a quiz opens at 7:00 PM
      • As teacher, go to Quiz administration → Group overrides again and delete the group override
      • Log in as the student.

      What you expect:
      You see in the block that a quiz opens at 6:00 PM

      What actually happens:
      You still see in the block that a quiz opens at 7:00 PM

       

            lucaboesch Luca Bösch
            rwijaya Rossiani Wijaya
            Shamim Rezaie Shamim Rezaie
            Jake Dallimore Jake Dallimore
            Gladys Basiana Gladys Basiana
            Votes:
            8 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

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