Compatibility problem with multimedia filter
zabellemotte opened this issue · comments
In Moodle 3.9, this question type breakes the multimedia filter that is commonly used to integrate medias in questions.
To reproduce the bug :
- activate multimedia filter in contents
Administration > Site administration > Plugins > Filters > Manage filters - create a wordselect question
- place some marked words as question type supposes to
- use the link button to add a link towards a loaded mp3 file in question text
- save and preview
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.
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.
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.