[rt-users] Access to Attachment structure

Alessandra Serrau aserrau at reilabs.com
Fri Nov 13 11:01:47 EST 2009


In order to create a custom scrip, I need to access to Attachment structure
because I would know the value of a header of the original request message.

So I try to do in custom cleanup code block:
my $headers = $self->TransactionObj->Attachments->Headers;

but in log I have this error message:
 Can't locate object method "Headers" via package "RT::Attachments".....

I seen in file ..lib/RT/Attachment.pm that the method Headers exists.


Anybody can say me the reason of this error?

Thank you in advance for the attention

-- 
Alessandra Serrau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091113/e19e9d0d/attachment.htm>


More information about the rt-users mailing list