
Question types: Gapfill
qtype_gapfill
Maintained by
Marcus Green
Cloze (fill in the blanks) question type with VERY simple question creation syntax. Can do drag drop, dropdowns or gapfill questions
3330 sites
1k downloads
80 fans
Current versions available: 10
As discussed in the Moodle Forum
https://moodle.org/mod/forum/discuss.php?d=203802
Contribute translations for other languages
Contact Titus Learning for custom development and consultancy.
Contributors
Marcus Green (Lead maintainer)
Please login to view contributors details and/or to contact them
In recent years, GapFill questions have worked wonderfully with formulas that are not written in LaTeX. A few days ago, my colleagues and I found that all formulas stay with dollar signs. Perhaps this is due to the latest updates. Is there any hope that the LaTeX will be readable or that all questions will have to be redone?
Moodle-Version 3.8.3+
Debug-Info: Unknown column 'letterhints' in 'field list'
SELECT answerdisplay, delimitchars, casesensitive, noduplicates, disableregex, fixedgapsize, optionsaftertext, letterhints FROM mdl_question_gapfill WHERE question = ?
[array (
0 => '32409',
)]
Error code: dmlreadexception
Stack trace:
line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 1247 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1587 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
line 1559 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
line 1538 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 824 of /question/type/questiontypebase.php: call to moodle_database->get_record()
line 69 of /question/type/gapfill/questiontype.php: call to question_type->get_question_options()
line 949 of /lib/questionlib.php: call to qtype_gapfill->get_question_options()
line 1018 of /lib/questionlib.php: call to _tidy_question()
line 175 of /mod/quiz/attemptlib.php: call to get_question_options()
line 169 of /mod/quiz/locallib.php: call to quiz->load_questions()
line 2459 of /mod/quiz/locallib.php: call to quiz_start_new_attempt()
line 111 of /mod/quiz/startattempt.php: call to quiz_prepare_and_start_new_attempt()
Any hints?
Regards
Hartmut
https://github.com/marcusgreen/moodle-qtype_gapfill/blob/master/db/install.xml
Email me directly at marcusgreen at mailbox.org
We have an HTML problem (with several theme) when we add a gapfill in a test.
I investigated and find a "div" auto-closed : ... in the gapfill question part.
It seems to me that is the origin of our HTML problem.
Does that remind you of something ? If i'm not wrong, is it possible to fix it ?
Thanks a lot and sorry if you notice that my investigation is finally wrong,
Julia
I can do this on mobile phone browser