-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.7.5, 4.1.1, 4.4.5, 4.5.1, 5.0
-
MOODLE_37_STABLE, MOODLE_401_STABLE, MOODLE_404_STABLE, MOODLE_405_STABLE, MOODLE_500_STABLE
To reproduce:
- Enrol a student in a course with completion enabled with a start date equal to yesterday's date.
- Run the daily completion task:
php admin/tool/task/scheduled_task.php --execute="\\core\\task\\completion_daily_task"
- Query the timeenrolled value for the student's record in the course_completions table.
- Convert this timestamp to a human-readable date.
- Expected: The timestamp for the timeenrolled field should be set to yesterday.
- Actual: It is being set to the date when you created the user's enrolment.
- Discovered while testing
-
MDL-52904 Completion cron task very slow when has more than 100k users
-
- Closed
-
- is duplicated by
-
MDL-34332 Course completion timeenrolled is not always set correctly
-
- Closed
-
-
MDL-80989 the value of "timeenrolled" in the course_completions table is "0"
-
- Closed
-
-
MDL-84283 Custom reports,Report source:Course participants,"Course completion • Time until completion" does not reflect accurate data.
-
- Closed
-