-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.6, 2.3.3, 2.4, 3.3.3, 3.4
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-37390-master -
Easy
-
Steps to reproduce
- Approve a pending course request (course/pending.php)
- Leave without saving changes in "Edit course settings" (course/edit.php)
When approving a course request, some default settings are not set.
For example, the course is created with mdl_course.startdate = 0.
The start date gets set only when saving course settings.
If the admin doesn't save course settings after approving a pending course request, the course's start date in the database is 1.1.1970 (startdate = 0)
While this might work for moodle internally (Moodle shows today's date in edit course settings if startdate=0), it can create confusion for external systems.
It would help if mdl_course.startdate timestamp was set to something more sensible, e.g. the course creation date when the course is created.
- caused a regression
-
MDL-61223 Time-based behat fails
-
- Closed
-
- has a non-specific relationship to
-
MDL-61081 Automatically-created future courses show up in the "Past Courses" section of the new Course Overview block
-
- Closed
-
-
MDL-83990 Courses created via webservice have a default startdate of "0"
-
- Closed
-
- Testing discovered
-
MDL-61184 Create course startdate and enddate API functions
-
- Open
-