-
Bug
-
Resolution: Fixed
-
Minor
-
3.3.1
-
MOODLE_33_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
Description
MoodleQuiz bug found in v3.3.1: If you enter 'nothing' by using the space bar in 'Maximum grade' in MoodleQuiz on the Editing quiz page, and then press 'Save', the page will return the error " Error writing to database".
Not a big issue as an admin or manager is unlikely to do this, but would expect an "Error, numerical value required" to pop up, or for a null value to be translated to '0.00'.
Step to reproduce # Login as Admin/Manager to course.
- Create/Add new MoodleQuiz activity.
- on Quiz page, click Edit Quiz.
- on Edit quiz, delete value default on Maximum grade field, and add a space or spaces using the keyboard space bar.
- Save.
- Observe result: error "Error writing to database".