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
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
This issue was fixed in the most recent release (1.7). Sadly the standard PHP string function would not deal properly with anything except basic ASCII, so I had to switch to a more recent bit of code.
Here is the text from the releasenotes
There is a fix to ensure proper handling of string comparison. Previously
tolower was used which would not work correctly with text containing accents.
This has been changed to use mb_lower.
I now include a new sample question that illustrates the handling of text containing more than basic ASCII
Here is the text of that example question
The gapfill question type can be used with non ASCII characters. For example the Cyrillic alphabet.
Moscow is the capital of [Россия]
The french word garçon has an accent on the letter c [garçon]
(Hmmm perhaps french should have an upper case F)
I encountered the same problem with french accents such as "é" on moodle 2.9.2+ (Build: 20151016). The answers containing accents won't be considered right if the option 'case sensitive" is not activated.
I am also experiencing an error in grading. I am trying to use drag and drop on a Spanish quiz. It marks all answers that have an accent incorrect. Moodle 2.8.6, Gapfill 2006082515 1.7, Clean theme. Is there a fix for this? Or should we use a different question type? Thanks!
"Debug info:
Error code: invalidmssqlnativetype
$a contents: tinyint
Stack trace:
line 591 of /lib/dml/mssql_native_moodle_database.php: dml_exception thrown
line 456 of /lib/dml/mssql_native_moodle_database.php: call to mssql_native_moodle_database->mssqltype2moodletype()
line 150 of /lib/ddl/database_manager.php: call to mssql_native_moodle_database->get_columns()
line 63 of /question/type/gapfill/db/upgrade.php: call to database_manager->field_exists()
line 541 of /lib/upgradelib.php: call to xmldb_qtype_gapfill_upgrade()
line 1630 of /lib/upgradelib.php: call to upgrade_plugins()
line 433 of /admin/index.php: call to upgrade_noncore()"
Any ideas, how to solve?
thanks!