Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

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

People
Owner: Nobody in particular
Requestors: bellaire [...] ufl.edu
Cc:
AdminCc:

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



Subject: Assembler classes must implement _set_attachment_info
To be specific, I am using an assembler for attachments, which is being handled from "inside" the standard assembler. Basically, although the Assembler role says I only need to implement the assemble method, the standard assembler invokes _get_attachment_info() on my class at some point. If I simply specify an empty method for this, everything works beautifully, since my assembler is generating complete Email::MIME objects itself. I know that work is planned (or at least, the need for work is noted) on the standard assembler, but I thought I'd report this nonetheless.
On 2010-09-13 21:17:03, http://adam.bellaire.myopenid.com/ wrote: Show quoted text
> To be specific, I am using an assembler for attachments, which is being > handled from "inside" the standard assembler. > > Basically, although the Assembler role says I only need to implement the > assemble method, the standard assembler invokes _get_attachment_info() > on my class at some point. If I simply specify an empty method for > this, everything works beautifully, since my assembler is generating > complete Email::MIME objects itself. > > I know that work is planned (or at least, the need for work is noted) on > the standard assembler, but I thought I'd report this nonetheless.
Thanks for the bug report. This is a dumb bug, and I will try to fix this soon -- as part of larger work to make Assemblers better. -- rjbs
This method is now only called when present. Dumb, but better than nothing. -- rjbs