Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.8.7, 2.9.1, 3.0
-
MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
MDL-51128-master -
Description
Steps to reproduce:
- Login as an administrator make sure that debugging is set to DEVELOPER.
- Go to Site administration ► Development ► Make test course
- Choose "XS" for "Size of course" and enter a value for "Course short name".
- Click on "Create a course"
- On the created course's main page, select the auto-generated Assignment.
- Edit the assignment's settings.
- Enable the assignment's due date by setting the "Enable" check box for the "Due Date" row as checked.
- Click on "Save and return to course"
- Under the Course administration, click on "Reset".
- For the "Course start date" row, set the Enable check box as checked.
- Adjust the Course start date by 1 day.
- Click on "Reset course"
- Go back to the assignment and check its due date.
Expected Results:
- The assignment's due date should have been adjusted by 1 day.
Actual Results:
- The assignment's due date is adjusted by more than 45 years in the future.
- i.e. The original due date was 17/08/2015, the course start date is adjusted to 18/08/2015, the assignment's due date becomes 02/04/2061.
Other Notes:
- This issue only seems to occur on the auto-generated assignment. For manually created assignments, it seems that the due dates are being properly adjusted.
Attachments
Issue Links
- Discovered while testing
-
MDL-43594 Course start date reset doesn't update calendar events for assign activities
-
- Closed
-