-
Bug
-
Resolution: Fixed
-
Major
-
3.11
-
MOODLE_311_STABLE
-
MOODLE_311_STABLE
-
MDL-71178-master -
-
0
-
Internationals - 3.11 Sprint 9
There is a regression in Moodle 3.11 which allows to mark activity as completed when conditions are not met. Here are steps to reproduce it:
- Create a course
- Add assignment to a course
- Enroll some users
- Enable completion tracking in course settings, save changes
- In assignment settings set 'Student can manually mark the activity as completed' and save changes
- Go to activity completion report at http://YOURMOODLE/report/progress/index.php?course=COURSEID
- Ensure no students are marked as completed assignment
- Go to assignment setting page again and change completion tracking to 'Show activity as complete when conditions are met' and tick 'Student must receive a grade to complete this activity'. Save changes
- Go to activity completion report at http://YOURMOODLE/report/progress/index.php?course=COURSEID
- All students in a course will be marked as completed assignment though no one has received any grades
This affects 3.11 and master branches. Older Moodle versions are fine