-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
4.0.4
-
MOODLE_400_STABLE
-
3
This bug is in the discussion forums and reported by Joseph Rézeau
Moodle 4.0.2
https://moodle.org/mod/forum/discuss.php?d=436367
I've independently found this same bug using these same steps on Moodle 4.0.4.
To reproduce this bug:
- Create two quiz activities inside a course
- Create and set the first quiz settings to:
- Set Grade to any number except 0
- Under Review Options, uncheck 'Marks' under 'Later, while the quiz is still open'
- Add Activity Completion: Check both 'Require grade'
- Student must receive a grade to complete this activity
- Student must receive a passing grade to complete this activity
- Add questions so you can test the quiz to pass/fail
- Create and set the second quiz settings to:
- Under Review Options, uncheck 'Marks' under 'Later, while the quiz is still open'
- Under Restrict Access, Add a restriction for activity completion, set it to the first quiz and set 'Must be complete with pass grade'
- Once you have both quizzes set, the second quiz should show 'Restricted until first quiz is complete'
- Now, go to the first quiz and try to fail the quiz.
- If you go back to the course, the second quiz will be unlocked and this is the bug, because it is supposed to not pass the first quiz.
But if you have 'Marks' under 'Later, while the quiz is still open' set up on the quizzes, they will work properly.
I work on a team of Moodle developers, and we would like to help if we can to resolve this bug quickly. Any information about how we can fix this bug would be appreciated, and we'd share any patches we create with the community.
- has been marked as being related by
-
MDL-75433 Access restriction not acknowledging passed-grade completion of quiz
- Closed
-
MDL-75572 Badges using activity completion with passing grade criteria, even when failed grade is given
- Closed
-
MDL-80102 overallcompletion ignores possible completion states
- Closed
-
MDL-80288 Problem with quiz access restriction "Must be marked complete" for a previous quiz with completion "Student must receive a passing grade to complete this activity"
- Closed
- will be (partly) resolved by
-
MDL-79367 Activity access restrictions do not work when using activity completion with passing grade criteria and failed grade is given
- Closed