-
Improvement
-
Resolution: Fixed
-
Minor
-
3.0.6, 3.1.2
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-56131-master -
The choice activity uses the lock API to avoid more than the allowed number of users selecting a given option, but doesn't pass the $maxlifetime parameter, which means that if anything goes wrong the choice can be unavailable for 24 hours (the default).
It would be better if a reasonable value could be set for this, that would be long enough to be ensure that the lock didn't expire before the choice was saved, but not so long that students are locked out of the activity for a whole day.