-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.11.7, 4.3
-
MOODLE_311_STABLE, MOODLE_403_STABLE
When attempting to view the course completion activity report for a particular course, the error "Invalid Course module ID" is raised. Another issue (MDL-74520) reproduces the problem for an activity that becomes disabled, but we have only one disabled activity in our 3.11.5+ system ("Assignment 2.2") and all of the course's activities are in use by other courses and do not have issues.
From the stack trace (attached) it is impossible to determine which activity is at fault, if this is related to a specific activity. We would like a fix or a workaround for this problem. MDL-74520 reports that this problem occurs with both 3.11 and 4.0.
Steps to reproduce (thanks to laurent.david@moodle.com in MDL-79847):
- Install the H5P / HVP activity from https://moodle.org/plugins/mod_hvp
- Create a new course C1
- Enable completion for the course
- Enrol user S1 (student)
- Add a new HVP activity (dark icon)
- Add a Multiple Choice question (a simple one)
- Make sure that completion is enable when student receive any grade
- In the course, go to More > Course Completion and check the box next to the activity in the Condition: Activity completion section
- Login as S1
- Complete the activity
- Login as Admin/teacher
- Go to Report / Completion report
- Ensure that the report display the information
- Uninstall the H5P/HVP activity
- Go back to the report
- You should see the following:
- duplicates
-
MDL-79847 Course Completion Report throws invalid table and missing course module due to plugin removal
-
- Closed
-
- has been marked as being related by
-
MDL-79690 err_system dashboard and my courses and invalid course module id on course
-
- Closed
-
- is duplicated by
-
MDL-79847 Course Completion Report throws invalid table and missing course module due to plugin removal
-
- Closed
-