Skip Menu |

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 24691
Status: resolved
Priority: 0/
Queue: MIME-tools

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 5.420
Fixed in: (no value)



Subject: Test failures with MIME::QuotedPrint 3.01
It seems that a stock perl 5.8.5 with the bundled MIME::QuotedPrint 3.01 causes MIME-Tools to fail: t/Misc..............FAILED tests 4-5, 7-11 Failed 7/14 tests, 50.00% okay After upgrading to MIME::QuotedPrint 3.07 all tests fail. Regards, Slaven
Duplicate of #24691, also I wrote "fail" instead of "pass"...
Yes, tests probably fail with older MIME::QuotedPrint versions. The reason for this is explained in MIME::Decoder::QuotedPrint: If we have MIME::QuotedPrint 3.03 or later, use the three-argument version. If we have an earlier version of MIME::QuotedPrint, we may get the wrong results. However, on some systems (RH Linux, for example), MIME::QuotedPrint is part of the Perl package and upgrading it separately breaks their magic auto-update tools. We are supporting older versions of MIME::QuotedPrint even though they may give incorrect results simply because it's too painful for many people to upgrade. The correct fix is for MIME-tools to require a newer version of MIME::QuotedPrint. Since the API change occurred in 3.03, which is now 3 years old, it really shouldn't be a problem to do so, but unfortunately, on some platforms it still is. I'll need to see how many silly distributions (*cough*Red Hat*cough*) are still shipping old MIME::QuotedPrint before I fix this.
Marking resolved, as the workaround works fine, and will need to persist for several more years. (Red Hat Enterprise Linux 4 ships 3.01, and is not end-of-life until 2012)