Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.5.3
-
Fix Version/s: None
-
Component/s: General
-
Labels:None
-
Environment:Linux
-
Database:MySQL
-
Affected Branches:MOODLE_15_STABLE
Description
It seems that the quiz question editor doesn't like null as an answer to a multiple choice question. When the Editing a Multiple Choice question page is submitted I get Could not insert quiz question!.
Issue Links
| This issue duplicates: | ||||
| MDL-6760 | can't use the word null in a question answer |
|
|
|
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
From Gustav Delius (gwd2 at york.ac.uk) Tuesday, 31 January 2006, 05:52 AM:
This is an interesting one and not specific to the quiz. One gets this problem whenever one tries to use insert_record to insert a record into the database that contains a field which has the string value 'null'. This is a fault in the adodb database abstraction layer that does not distinguish between the string null and null.
I am assigning this bug to Martin.