[rt-users] Transaction content always in first attachment?

Jesse Vincent jesse at bestpractical.com
Wed Jan 17 14:05:42 EST 2007




On Wed, Jan 17, 2007 at 02:03:34PM -0500, Stephen Turner wrote:
> 
> Hello,
> 
> In Transaction_Overlay.pm, the ContentObj method assumes that the content is
> in the transaction's first attachment. This appears not always to be the
> case - we have several tickets created through the email interface in which
> an attached binary file is the first attachment, and the email message is
> stored in subsequent attachments. This has caused the default global
> template to fail (it does a $Transaction->ContentObj->Headers call, and
> ContentObj is null in this case).
> 
> RT.2.4.2

I bet you mean 3.4.2 here.  I'm pretty sure that we updated this
algorithm for 3.6 but don't have the code at hand to dig into.

Jesse



More information about the rt-users mailing list