marcusgreen / moodle-qtype_wordselect

langHighlight words by clicking e.g. select all nouns in this sentence
2 stars 10 forks source link

Compatibility problem with multimedia filter #50

Open zabellemotte opened 1 year ago

zabellemotte commented 1 year ago

In Moodle 3.9, this question type breakes the multimedia filter that is commonly used to integrate medias in questions. To reproduce the bug :

In other question types, the edition form shows a link toward the file. In word select edition form, the multimedia filter seems to be loaded. In other question types, the preview shows a player for the audio file that plays the audio. In word select, the preview shows the same player but the audio does not play and an unending loading circle appears.

zabellemotte commented 1 year ago

In Moodle 4.1, the wordselect question type seems to annihilate the multimedia filter effect and shows a link toward the audio file, as well in edition form as in preview.

marcusgreen commented 1 year ago

Thank you for your detailed report. I have an idea this is a bug that may happen with any filter. I have an automated test for the multilanguage filter, which you can see here https://github.com/marcusgreen/moodle-qtype_wordselect/blob/master/tests/behat/filter_test.feature But I suspect it depends on where the item is in the text. I will investigate, though I think a will not be trivial.