-
Improvement
-
Resolution: Fixed
-
Minor
-
Future Dev
-
MOODLE_405_STABLE
-
MDL-80741-main -
-
3
-
Team Alpha - Sprint 3 I1-2024
In the assignment's settings page (including site-wide configuration), the 'Never' option from the 'Additional attempts' setting is redundant. The same behaviour is achieved if the setting 'Maximum attempts' is set to 1. Also, the 'Additional attempts' setting should be conditionally displayed based on the selected option from the 'Maximum attempts' setting because it only makes sense to show this setting when more than 1 attempts are allowed.
Acceptance criteria:
- Remove the 'Never' option from the 'Additional attempts' form element in the assignment's setting page, assignments's site-wide configuration and all its usage in the code.
- The 'Maximum attempts' setting option controls whether the 'Additional attempts' setting is available. (visible only when 'Maximum attempts' > 1).
- Change the default value of the 'Maximum attempts' to 1.
- Upgrade step to correct the existing db records based on the changes to the settings.
- Improve the strings used for the form labels.
- Update the existing automated tests.