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.