-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.9.12, 3.10.9, 3.11.5
-
None
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
When adding competencies to courses which already have completion data for users the default of 'Attach Evidence' means that evidence can/may be added by the scheduled task before the administrator changes the dropdown to another choice (e.g. 'Do Nothing').
Steps to reproduce:
1. Identify a course that already has user completion data
2. Go to the course competencies page
3. Add a competency
4. Wait for for 2 mins
5. Change the dropdown from 'Attach Evidence' to 'Do Nothing'
6. Check the user competencies for a course, users who have completed the course are likely to have attached evidence (depending on the number of users because the scheduled task is batch based)
This occurs because step 5 and the scheduled task are a race condition and the scheduled task runs every minute.
Possible solution:
a) Change the default to 'Do Nothing'
b) Change the default to blank/please choose and make the field required