- Create a course with multiple activities(quiz and assignments).
- Set the course completion as the completion of several activities.
- Enroll some students to this course
- Let these students to complete all these activities in more than one attempts with FAILURE (grade < passgrade) in the first and PASS grade in the second/third ones.
- Check the completion report at page /report/completion/index.php?course=XX
- Download the completion report as a CSV file.
- Check the completion dates.
PROBLEM: Completion dates are the first completion dates independent of PASS or FAIL grade. They supposed to be the last grading date.
The completed (including FAILED) activities are not picked up by the cron() function of completion_criteria_activity.php