Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.2.5, 2.3.2
-
Fix Version/s: None
-
Component/s: Assignment, Conditional activities
-
Labels:
-
Affected Branches:MOODLE_22_STABLE, MOODLE_23_STABLE
Description
It is possible to base a grade condition on an assignment, but when the condition is evaluated, it appears to rely on the student having made a submission. In most cases, this would be acceptable, but when the student is given a mark without having made a submission (a real possibility), the condition is not seen as completed.
Replication steps:
- Log in as admin/teacher
- Create two assignments
- In the second, create a condition that relies on a grade value in the first
- Go to the first assignment and mark an assignment without a student submission
- (I ran cron manually at this point, I'm not certain I needed to)
- Log in as the student who received the mark
- Check if the second assignment is accessible
- Submit a submission to the first assignment
- (I didn't run cron here)
- Check if the second assignment is accessible
Expected result: The second assignment should be accessible after the grade is set, even without a student submission
Actual result: The second assignment is not accessible after a grade is set for the first assignment until the student makes a submission