Skip Menu |
 

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

Report information
The Basics
Id: 79944
Status: open
Priority: 0/
Queue: MIME-Lite

People
Owner: Nobody in particular
Requestors: wolfgang [...] kinkeldei.de
Cc:
AdminCc:

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



Subject: Field sort order different from 3.028
Download (untitled) / with headers
text/plain 926b
Due to the change made in version 3.029, the output field order has changed. This makes MIME::Lite::HTML (and maybe other modules) break its tests as they rely on the field order from 3.028. Would be great if the field order could be the same as in 3.028. $ perl -I MIME-Lite-3.028/lib -MMIME::Lite -E 'say MIME::Lite->new(From=>"me", Data => "testing")->as_string' MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Mailer: MIME::Lite 3.028 (F2.82; T1.34; A2.09; B3.13; Q3.13) Date: Mon, 1 Oct 2012 10:53:52 +0200 From: me testing $ perl -I MIME-Lite-3.029/lib -MMIME::Lite -E 'say MIME::Lite->new(From=>"me", Data => "testing")->as_string' Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 X-Mailer: MIME::Lite 3.029 (F2.82; T1.34; A2.09; B3.13; Q3.13) Date: Mon, 1 Oct 2012 10:53:57 +0200 From: me testing
Download (untitled) / with headers
text/plain 339b
I'd happily apply a patch to fix the issue, but am unlikely to spend any time on it myself right now. For what it's worth, headers are generally not to be considered in a fixed order, and a test that relies on their ordering is a mistake. Still, I realize it's inconvenient and will apply a suitable patch if one is provided. -- rjbs


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.