Details
Description
I am unable to import any Cloze question. All attempts end with the following error message:
ERROR: null value in column "generalfeedback" violates not-null constraint
INSERT INTO mdlspa_question ( ID, CATEGORY, NAME, QUESTIONTEXT, DEFAULTGRADE, QTYPE, STAMP ) VALUES ( 21, 3, '::A simple Cloze question:: ', '::A simple Cloze question:: This question consists of some text with an answer embedded right here
{#1}and right after that you will have to deal with this short answer
{#2}and finally we have a floating point number
{#3}. Note that addresses like www.moodle.org and smileys all work as normal: a) How good is this?
b) What grade would you give it?
{#5}Good luck! ', 8, 'multianswer', 'www.agenturaspa.cz.web4ce.cz+070820170240+12NB4D' )
- line 1425 of lib/dmllib.php: call to debugging()
- line 234 of question/format.php: call to insert_record()
- line 181 of question/import.php: call to qformat_default->importprocess()
I am attaching the file to be imported (it is the question from http://moodle.org/help.php?module=quiz&file=multianswer.html)