-
Improvement
-
Resolution: Fixed
-
Minor
-
4.3.5, 4.4.1
-
MOODLE_403_STABLE, MOODLE_404_STABLE
-
MOODLE_405_STABLE
-
Inspired by MDL-82666, looking at the uses of the duration formslib field type, everyone expects that users will only input durations >= 0 but most people don't actually validate this.
I think the duration field type should work the way everyone expects, and by default only allow positive values.
(But, just in case anyone has a plugin relying on the old behaviour, this should be an option that can be turned off. I still think it should default to on, however, even thouh that is not strictly backwards compatible. The effect of that non-backwards-compatibility will be to fix a bunch fo subtle bugs.)
- duplicates
-
MDL-82370 PositiveInt HTML_QuickForm_Rule_Regex not working for duration element
-
- Closed
-
- is duplicated by
-
MDL-82666 Quiz time allows negative numbers which makes all studens fail the quiz
-
- Closed
-
- will help resolve
-
MDL-82666 Quiz time allows negative numbers which makes all studens fail the quiz
-
- Closed
-