Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 15048
Status: resolved
Priority: 0/
Queue: Email-MIME

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

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



Subject: Dies horribly on parts_set( [] )
The ->parts_set method assumes there will always be at least one part, and does the following Email::MIME::parts_set(/usr/local/share/perl/5.8.4/Email/MIME/Modifier.pm:244): $body .= $parts->[0]->body; When you just did ->parts_set([]) (which was the result of something filtered down from higher up) it dies badly. parts_set should either handle no parts in the way you would expect, or fail in some more useful way.
On Thu Oct 13 13:01:50 2005, ADAMK wrote: Show quoted text
> The ->parts_set method assumes there will always be at least one part, > and does the following
This bug actually belongs on Email-MIME-Modifier, but who cares! I believe this has been adequately addressed in Subversion.
Fixed and released. -- rjbs