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

Course start date reset doesn't update calendar events for assign activities

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Procedure:

      1. Create a course.
      2. Create an assignment.
      3. Enter the assignment's name and enable and set a Due date for that assignment.
      4. Click "Save and return to course"
      5. Back on the course page, check the Upcoming Events block on the right side. Make sure that the previously created assignment's due date is shown and correct. (You may need to click "Go to calendar" to see the assignment's due date in the calendar if you have set the it to a past date or way ahead in the future).
      6. In the Administration block, click Course Administration -> Reset.
      7. At the General section, enable the Course start date and change its value.
      8. Click "Reset course".
      • Expected result: The following messages should be shown:
        • Assignments Date changed OK
      1. Click "Continue".
      2. Back on the course page, click on the created assignment.
      3. On the assignment's information page, check the Due date.
      • Expected result: The due date should have been properly adjusted.
      1. Go back to the course page. Check the Upcoming events block:
      • Expected result: Whenever applicable, the updated Due date for the assignment should be shown and should be equal to the Due date that was shown on the assignment's information page.
      1. If the assignment's due date was adjusted to a past date or a date way in the future, go to the Calendar and go to the month that the Due date has been adjusted to.
      • Expected results: The Due date for the assignment should be shown and should be the same as the Due date that was shown in the assignment's information page.
      Show
      Procedure: Create a course. Create an assignment. Enter the assignment's name and enable and set a Due date for that assignment. Click "Save and return to course" Back on the course page, check the Upcoming Events block on the right side. Make sure that the previously created assignment's due date is shown and correct. (You may need to click "Go to calendar" to see the assignment's due date in the calendar if you have set the it to a past date or way ahead in the future). In the Administration block, click Course Administration -> Reset. At the General section, enable the Course start date and change its value. Click "Reset course". Expected result: The following messages should be shown: Assignments Date changed OK Click "Continue". Back on the course page, click on the created assignment. On the assignment's information page, check the Due date. Expected result: The due date should have been properly adjusted. Go back to the course page. Check the Upcoming events block: Expected result: Whenever applicable, the updated Due date for the assignment should be shown and should be equal to the Due date that was shown on the assignment's information page. If the assignment's due date was adjusted to a past date or a date way in the future, go to the Calendar and go to the month that the Due date has been adjusted to. Expected results: The Due date for the assignment should be shown and should be the same as the Due date that was shown in the assignment's information page.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-43594-master
    • Sprint:
      Team ';drop tables Sprint 10

      Description

      When reseting a course and setting a new course start date, the dates for assign activities are automatically updated (when using weekly format) but the calendar events for these activities aren't.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jpataleta Jun Pataleta
              Reporter:
              mjleblanc Marie-Josée Leblanc
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Andrew Nicols
              Tester:
              John Okely
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/15