Hi Gordon,
Just downloaded your HP mod and question/format/hotpot folder and installed on my moodle 2 test sites.
Tried to import a JCQ file with just one MCQ question.
Import works OK in Moodle 2.0.
Does not work in Moodle 2.1, throws this error message:
Notice: Undefined property: stdClass::$questiontextformat in L:\server\htdocs\moodle21fork\moodle\question\format.php on line 873
Error writing to database
More information about this error
Debug info: Incorrect integer value: 't' for column 'answerformat' at row 1
UPDATE mdl_question_answers SET question = ?,answer = ?,feedback = ?,answerformat = ?,fraction = ?,feedbackformat = ? WHERE id=?
[array (
0 => 112,
1 => 't',
2 => 'yes, this is correct',
3 => 't',
4 => 1,
5 => '1',
6 => 218,
)]
Stack trace:
line 397 of \lib\dml\moodle_database.php: dml_write_exception thrown
line 984 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1016 of \lib\dml\mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
line 92 of \question\type\multichoice\questiontype.php: call to mysqli_native_moodle_database->update_record()
line 416 of \question\format.php: call to qtype_multichoice->save_question_options()
line 119 of \question\import.php: call to qformat_default->importprocess()