[Bug 476429] [NEW] forum mail not processed due to wrong use of html2text API
Robert Millan (IES Montserrat)
rmh.iesmontserrat at gmail.com
Fri Nov 6 12:41:42 UTC 2009
Public bug reported:
Binary package hint: moodle
Forum mail isn't being processed. At some point during the cronjob transaction, html_to_text() in weblib.php is called, and this function makes improper use of html2text API. It aborts as a result, and mail is lost.
This might be related to html2text being replaced altogether recently
(http://tracker.moodle.org/browse/MDL-17542). Upstream updated
html2text.php AND adjusted weblib.php (see
http://cvs.moodle.org/moodle/lib/weblib.php?revision=1.1346&view=markup),
but the Ubuntu package seems to be out of sync, using the old API:
$result = html2text($html);
instead of:
$h2t = new html2text($html);
$result = $h2t->get_text();
** Affects: moodle (Ubuntu)
Importance: Undecided
Status: New
--
forum mail not processed due to wrong use of html2text API
https://bugs.launchpad.net/bugs/476429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list