Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.2, 3.3
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
MOODLE_33_STABLE
-
MDL-56251_master -
Description
Follow up for MDL-22078 "course end date".
Some course formats, for example format_weeks can automatically predict the course end_date = start_date + number_of_sections * 7days. There are many ways how teacher can change number of sections (edit settings, delete sections, call course/changenumsections.php, restore, import, etc)
Option 1: do not allow to modify course end date manually and automatically set it after each modification of number of sections.
Option 2: add a warning (visible only to users with capability to edit course settings) when they view the course page. Something like "Course end date is set to X but it should be Y based on the start date Z and duration of N weeks. Adjust"
And a quick action link to fix the end date without filling the form.
There could be situations when the teacher decides to set end date different on purpose. But do we need to care about them? Should we add a setting that switches auto-adjust on and off or just always do it?
Attachments
Issue Links
- blocks
-
MDLQA-10723 CLONE - Run PHPUnit tests on Oracle
-
- Passed
-
- caused a regression
-
MDL-59076 Exceptions thrown by restore_format_weeks_plugin.class
-
- Closed
-
- is blocked by
-
MDL-50670 Default values for some course format options do not apply
-
- Closed
-
-
MDL-22078 Course End Date
-
- Closed
-
- Testing discovered
-
MDL-50670 Default values for some course format options do not apply
-
- Closed
-
- will help resolve
-
MDL-58534 Add work around for courses in weekly format with no end date to calculate from number of weeks
-
- Closed
-