-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.5.4, 5.0, 5.1
-
MOODLE_405_STABLE, MOODLE_500_STABLE, MOODLE_501_STABLE
Under certain conditions the completion state of an activity can be in a broken state, this issue only seems to affect the admin user.
Steps to reproduce:
- Log in as admin
- Create or edit a course
- Add and activity and set the "Completion Condition" to "View the activity"
- Enrol the admin with a role different from "Student"
- View the activity
- Edit the activity and set the "Completion Condition" to "None"
- Edit the activity again and set the "Completion Condition" to "View the activity"
- Go back to the course and you should be able to see the completion dropdown status as "To do" and the only task inside, "View", as done. Viewing the activity again doesn't changes the dropdown status to "Done", is stuck as "To do".
Attached a video reproducing the issue completion issue.mp4