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

Create the calendar action events required for the lesson activity

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide
      Test 1
      1. Create a lesson activity with 'Available from' checked and set to sometime in the future.
      2. Log in as a student and check your dashboard.
      3. Confirm there is a lesson event with that date.
      Test 2
      1. Create a lesson activity with 'Deadline' checked and set to sometime in the future.
      2. Log in as a student and check your dashboard.
      3. Confirm there is a lesson event with that date.
      Test 3
      1. Create a lesson activity with 'Available from' and 'Deadline' checked and set to sometime in the future - with ''Deadline' set to further in the future than ''Available from'.
      2. Log in as a student and check your dashboard.
      3. Confirm there is a lesson event with the ''Available to' date set.
      Test 4
      1. Ensure unit tests are passing.
      Show
      Test 1 Create a lesson activity with 'Available from' checked and set to sometime in the future. Log in as a student and check your dashboard. Confirm there is a lesson event with that date. Test 2 Create a lesson activity with 'Deadline' checked and set to sometime in the future. Log in as a student and check your dashboard. Confirm there is a lesson event with that date. Test 3 Create a lesson activity with 'Available from' and 'Deadline' checked and set to sometime in the future - with ''Deadline' set to further in the future than ''Available from'. Log in as a student and check your dashboard. Confirm there is a lesson event with the ''Available to' date set. Test 4 Ensure unit tests are passing.
    • Affected Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-57986-master
    • Sprint:
      3.3 Project Team Sprint 3

      Description

      Required events
      Student
      1. If you specify an ‘Available from’ date an event is created on that day. The action url should appear disabled until after the 'Available from' time has passed.
      2. If you specify an ‘Deadline’ date an event is created on that day. The action url should appear enabled for the period up until the 'Deadline' time has passed.
      3. If both the 'Available from' and 'Deadline' values are set then an action event should be created where the sort time is the 'Available from'. The action url should appear enabled during the period between the 'Available from' and the 'Deadline' times.
      4. Standard activity completion event required (if activity completion is specified) unless any of the other events are created.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cameron1729 cameron1729
              Reporter:
              markn Mark Nelson
              Peer reviewer:
              Mark Nelson
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: