Gapfill

Question types ::: 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
Latest release:
4179 sites
1k downloads
109 fans
Current versions available: 11

As discussed in the Moodle Forum

https://moodle.org/mod/forum/discuss.php?d=203802

Contribute translations for other languages

For custom development and consultancy contact Moodle Partner Catalyst EU (https://www.catalyst-eu.net/).


For any questions please post here
https://github.com/marcusgreen/moodle-qtype_gapfill/issues

Screenshots

Screenshot #0
Screenshot #1

Contributors

Marcus Green (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Vela Simeonova
    Thu, 26 Nov 2015, 3:58 PM
    Hello Marcus,

    The plugin is great and helpfull, but I am experiencing the same problem with non ASCII characters. Using Moodle2.8, gapfill1.8. The problem is axactly the same as Cirrelli wrote before. Is there any solution?
    Thank you
  • Marcus Green
    Thu, 26 Nov 2015, 4:34 PM
    Uncheck the regular expression checkbox and let me know the result
  • Eduardo Hm
    Thu, 3 Dec 2015, 9:42 PM
    Hi Marcus,

    I tell you what my problem is. I have a Moodle platform version 2.9.1, with the latest update on the type of "gapfill" question.

    The platform is in Spanish, and the problem occurs when generating a question to fill in where the answers have accents (Spanish spelling), when finalizing the questionnaire fails on those responses. No hunt properly.

    I've also updated the language pack "Spanish-International", but continues to this judgment when evaluating responses GapFill type.

    Any suggestions or bug moodle own?
  • Marcus Green
    Thu, 3 Dec 2015, 9:53 PM
    Hi Eduardo, I have replied on github, thank you for the screen shot which was very helpful..
  • Daniel Thies
    Sat, 2 Jan 2016, 8:13 AM
    I had a fatal error on my site when upgrading my site to PHP 7 on Moodle 3.0.1. I patched and have it in a pull request on github.
  • Marcus Green
    Sat, 2 Jan 2016, 4:06 PM
    Thanks Daniel, I have updated the 1.9 branch with your fix. The 1.9 branch has some other minior fixes. I don't have a working install of PHP7, so if you could install that and email me at marcusavgreen at gmail dot com to confirm it works I would be very greatful.
  • Paul Vivian
    Mon, 4 Jan 2016, 4:23 AM
    Hi All,
    Just updated via the moodle plug in database this plug in, and this error appears

    qtype_gapfill

    Cannot downgrade qtype_gapfill from 2006082517 to 2006082517.

    More information about this error
    Debug info:
    Error code: cannotdowngrade
    Stack trace:

    line 347 of /lib/upgradelib.php: downgrade_exception thrown
    line 80 of /question/type/gapfill/db/upgrade.php: call to upgrade_plugin_savepoint()
    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()

    I have tried it for Moodle 2.9 & 3.0.1 and they all come up with the same error.

    Please assist
  • Marcus Green
    Mon, 4 Jan 2016, 4:45 AM
    Hi Paul, my apologies for that, I have just updated the file and installation should work now (it appears to be the same but there is an update within db\update.php to a versioin number). Please let me know if it works
  • Paul Vivian
    Mon, 4 Jan 2016, 3:55 PM
    Awesome, thank you Marcus..
  • camille Grasset
    Sat, 16 Jan 2016, 7:51 PM
    Hi Marcus,
    I get the same error as Paul Vivian shows above (4.january). You seem to have this issue fixed, however, I haven't found yet how to update the file: I always am directed to the same "plugins check" page waiting for an "upgrade of the moodle database". I cannot either uninstall the plugin from the plugins overview page.
    I guess I lack knowledge on how to administrate plugins, but I haven't found any answers in moodle documentation and forums...
    Some help would be really apreciated!
  • Marcus Green
    Sat, 16 Jan 2016, 8:04 PM
    Hi Camille, yes the issue Paul had is fixed in the visible release. The problem was in the db\upgrade.php file. If you can replace that the upgrade should run without error. When did you download/attempt to upgrade your version? That faulty version was only available for a matter of hours I believe. You can email me directly at marcusavgreen at gmail.com and one way or another I should be able to get your question upgraded.
  • camille Grasset
    Sat, 16 Jan 2016, 10:28 PM
    Fantastic, it's all fine now, many thx for the help
  • Chris Kenniburg
    Thu, 10 Mar 2016, 11:08 PM
    Hello Marcus, We love your question type! However, we discovered an issue. In the question text we can use Exponents. However, in the distractors when we add exponents they get removed when saving. Do you have any ideas on what might be causing this? We have some math teachers that would like to utilize your question type for a variety of purposes.
  • Kevin Bruton
    Sat, 2 Apr 2016, 6:50 PM
    Hi Marcus, Great plugin!
    With it, I'm able to ask questions such as: list the four seasons of the year. And marking "no duplicates" as you've described in your post (https://moodle.org/mod/forum/discuss.php?d=329010), it marks the answers correctly.
    However, I can see that it gives one full mark for each season. Any way of giving one mark for the question in all?
  • Marcus Green
    Mon, 4 Apr 2016, 3:50 PM
    Hi Kevin, thanks for the feedback. There is no way of giving one mark for the question overall.There is considerable testing and logic embedded in the concept of one mark per gap so changing that to an all or nothing mark would require significant re-working.
Please login to post comments