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
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
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