-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.7, 3.8.4, 3.9.1
-
MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
Steps to reproduce:
- On a Moodle site using Postgres.
- Create a quiz, and try to set the time limit to 9.3 seconds.
Actual result: when you try to save the form, you get a database error 'invalid input syntax for integer: "9.3"'.
Expected result: Either time is just saved as 9 seconds (I think this is the better option - anyone who thinks a web app working over the internet can be accurate to more than 1s is just wrong); or form validation error.