-
Bug
-
Resolution: Fixed
-
Major
-
3.11.6, 4.0, 4.0.1
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-74533-master -
Steps to reproduce:
- I setup a quiz with a 'Grade to pass' = 10, and then I turn on completion with these option is checked:
Student must receive a grade to complete this activity
Student must receive a passing grade to complete this activity
2. As a student, I attempt the quiz and gain the grade = 9.
=>the student receive a grade, but not a passing grade.
3. As teacher, I change the setting of quiz, click on 'Unlock completion options' and update the 'Grade to pass' to 8
=> the student has receive a grade, and it's a passing grade. However, in the Activity Completion report, the student is FAIL the completion base on the report.
The root cause is that: we are using the old grade pass to calculate the completion of the activity.
We should using the new Grade to pass to calculate the completion of the activity.
Note: Due to MDL-52206 is not fixed on 3.11, I will update the code changes for 4.0 and master.