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

Create the calendar action events required for the quiz activity

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide
      Test 1
      1. Create a quiz activity with 'Open the quiz' checked and set to sometime in the future.
      2. Log in as a student and check your dashboard.
      3. Confirm there is an event with that date.
      Test 2
      1. Create a quiz activity with 'Close the quiz' checked and set to sometime in the future.
      2. Log in as a student and check your dashboard.
      3. Confirm there is an event with that date.
      Test 3
      1. Create a quiz activity with 'Open the quiz' and 'Close the quiz' checked and set to sometime in the future.
      2. Log in as a student and check your dashboard.
      3. Confirm there is an event with the ''Close the quiz' date set.
      Test 4
      1. Ensure unit tests are passing.
      Show
      Test 1 Create a quiz activity with 'Open the quiz' checked and set to sometime in the future. Log in as a student and check your dashboard. Confirm there is an event with that date. Test 2 Create a quiz activity with 'Close the quiz' checked and set to sometime in the future. Log in as a student and check your dashboard. Confirm there is an event with that date. Test 3 Create a quiz activity with 'Open the quiz' and 'Close the quiz' checked and set to sometime in the future. Log in as a student and check your dashboard. Confirm there is an event with the ''Close the quiz' date set. Test 4 Ensure unit tests are passing.
    • Affected Branches:
      MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58017_master
    • Sprint:
      3.3 Project Team Sprint 3

      Description

      Events required:

      Student

      • If you specify a date+time for the ‘Open the quiz’ field, an event is created on that day. The action url should appear disabled until this date+time has passed
      • If you specify a date+time for the ‘Close the quiz’ date an event is created on that day. The action url should appear enabled for the period up until this date+time has passed
      • If both the 'Open the quiz' and 'Close the quiz' values are set then an action event should be created where the sort time is the 'Close the quiz' field. The action url should appear enabled during the period between the 'Open the quiz' and the 'Close the quiz' times
      • Standard activity completion event required (if activity completion is specified) unless any of the other events are created.
      • Create an action event that when the user received a "user override" with the same rules as above
      • Create an action event that when the user received a "group override" with the same rules as above

      Teacher

      • None as best I can tell

        Attachments

          Activity

            People

            Assignee:
            markn Mark Nelson
            Reporter:
            cameron1729 cameron1729
            Peer reviewer:
            Ryan Wyllie
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: