Error in multimedia filter in Moodle 1.9.11+ ?

Error in multimedia filter in Moodle 1.9.11+ ?

Sven Laudel -
回帖数:3

Hi,

we're having a problem with the multimedia filter after we updated to moodle 1.9.11+. I'll attach a screenshot displaying the text in the text editor (in the upper part) and the result after the multimedia filter was applied (the lower part of the screenshot).

The new mediafilter code seems to drop everything between the first link (to a pdf) and the link to the mp3 file.The multimedia filter is the only filter which is enabled.

If i revert the php code of filter.php to moodle 1.9.10, the mediafilter works as expected.

Maybe someone can reproduce this behaviour on another moodle installation?

Regards

Sven

附件 error_filter.png
回复Sven Laudel

Re: Error in multimedia filter in Moodle 1.9.11+ ?

Eloy Lafuente (stronk7) -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Testers的头像

Hi Sven,

I have tried with something like your example, using latest weekly of Moodle 1.9.11+ and it seems to be working ok here. Looking for recently fixed issues I've found MDL-26605 that seems to be pretty much your problem.

So updating to latest weekly of 1.9.11+ (or 1.9.12 coming really, really soon) should terminate the problem.

Ciao 微笑

=== Attached screenshoot of results ===

附件 pdf_and_mp3.png
回复Eloy Lafuente (stronk7)

Re: Error in multimedia filter in Moodle 1.9.11+ ?

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像

It is still replacing the nice meaningful link text that was added using the HTML editor ("mp3 file" in the example above, but it might say something like "interview with the elusive Eloy Lafuente") and replacing it with the generic "MP3 audio". I still don't understand why that change was made.