Skip Menu |
 

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

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

People
Owner: dmo+pause [...] dmo.ca
Requestors: OSALAUN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 5.421
  • 5.422
Fixed in: 5.423



Subject: Behavior of MIME::Entity::body() has changed
Download (untitled) / with headers
text/plain 367b
Until MIME-Tools 5.420 the MIME::Entity::body() subroutine would return an arrayref. Starting with version 5.421 it now returns an array. This change of behavior breaks installed version of our software (Sympa <http://www.sympa.org>. I suggest that MIME::Entity::body() should remain backward compatible to prevent such disasters in softwares that use the library.
Download (untitled) / with headers
text/plain 651b
On Thu Sep 27 11:06:04 2007, OSALAUN wrote: Show quoted text
> Until MIME-Tools 5.420 the MIME::Entity::body() subroutine would return > an arrayref. Starting with version 5.421 it now returns an array. > > This change of behavior breaks installed version of our software (Sympa > <http://www.sympa.org>.
Ok, fixed. MIME-tools 5.423 has been uploaded and should hit CPAN shortly. Show quoted text
> I suggest that MIME::Entity::body() should remain backward compatible to > prevent such disasters in softwares that use the library.
I suggest that users of MIME-tools should try testing the developer releases and report problems with them _before_ the official release. :) Dave
Download (untitled) / with headers
text/plain 1009b
Le Jeu. Sep. 27 11:52:33 2007, DONEILL a écrit : Show quoted text
> On Thu Sep 27 11:06:04 2007, OSALAUN wrote:
> > Until MIME-Tools 5.420 the MIME::Entity::body() subroutine would return > > an arrayref. Starting with version 5.421 it now returns an array. > > > > This change of behavior breaks installed version of our software (Sympa > > <http://www.sympa.org>.
> > Ok, fixed. MIME-tools 5.423 has been uploaded and should hit CPAN
shortly. Thank you for your quick reaction. BTW : I checked the ChangeLog and noticed a minor typo with the MIME::Tools version : 5.433 instead of 5.423 Show quoted text
> > I suggest that MIME::Entity::body() should remain backward compatible to > > prevent such disasters in softwares that use the library.
> > I suggest that users of MIME-tools should try testing the developer > releases and report problems with them _before_ the official release. > :)
That would be great, but difficult to set this up because Sympa software depends on so many CPAN modules (currently 35 different modules).


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.