[Rt-devel] No MessageId set for Attachments?

Petter Reinholdtsen pere at hungry.com
Fri Sep 10 09:04:35 EDT 2004


[Espen Wiborg]
> I'd rename $ticket to $attachment, as that's what you're looping over.

Good idea.

> Here, you'll need to do something like
>
>           my $ticketid = $attachment->TransactionObj->Ticket;

Thank you.  This worked.  I now have the feature I want working. :)

> instead.  You might possibly want EffectiveTicket and not Ticket.          

I did not have to do this, as I send the ticket id into
Ticket::Load(), and it uses EffectiveTicket when needed.


More information about the Rt-devel mailing list