Details
Description
DESCRIPTION
The Logs report includes an event which records when a user achieves completion of an activity. The "Course activity completion updated" event links to the Course Completion report. This is problematic because if course completion criteria have not been configured for the course, the user receives an error stating, "No completion criteria set for this course". The Course Completion report is not available in the Reports menu when course completion criteria have not been set, so the Logs report should not provide access to this "inaccessible" report. The event really should link to the Activity completion report which is guaranteed to be available.
STEPS TO REPLICATE
1. Create a new course with Enable completion tracking set to Yes.
2. Enroll a user in the course as a student.
3. Add a new activity or resource to the course.
4. Add activity completion settings to the activity or resource.
5. Go to Course completion and verify that no completion conditions have been selected.
6. Log in as the student and interact with the activity or resource as necessary to meet the defined activity completion requirements.
7. As the teacher, go to the Logs report.
8. Locate the event "Course activity completion updated".
9. Click on the "Course activity completion updated" link.
OBSERVED BEHAVIOR:
User is redirected to the Course Completion report and receives the error "No completion criteria set for this course."
EXPECTED BEHAVIOR:
User is redirected to the Activity completion report.