Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 1.8
-
Fix Version/s: None
-
Component/s: Questions
-
Labels:None
-
Environment:moodle 1.8+
sunos
mysql database
-
Database:MySQL
-
Affected Branches:MOODLE_18_STABLE
Description
When i make a new true/false question, i get error: Could not insert quiz answer "true")!
Adding an echo to the truefalse/questiontype.php database send me the error --> Column 'fraction' cannot be null
I think that the problem has in the new variable correctaswer, that send 'null' to the fraction:
$true->fraction = $question->correctanswer;
All tables are correct.
Any idea?
Raül
Attachments
Issue Links
| This issue duplicates: | ||||
| MDL-9244 | Question types use the old editing form in preference to the new one if both are present |
|
|
|
This is a known issue, caused by not deleting redundant files when uploading. This thread has more details, including information about what you need to do to solve the problem.
http://moodle.org/mod/forum/discuss.php?d=68051#p308427