[rt-users] Error in 3.0.9

Rick Ellis Richard.Ellis at Sun.COM
Mon Mar 8 08:42:08 EST 2004


Recently upgraded from 3.0.8 to 3.0.9 on our dev box, including perl
upgrade and now seeing this error.
error:  Can't locate object method "Columns" via package
"RT::Attachments" at /opt/rt3/share/html/Ticket/Elements/ShowAttachments
line 66.
context: 
... 

62: 
my %documents;
63: 
my $transactions =
$Ticket->Transactions();
64: 
while (my $trans =
$transactions->Next()) {
65: 
my $attachments =
$trans->Attachments();
66: 
$attachments->Columns( qw( Id
Filename ContentType Headers Subject
Parent ContentEncoding ContentType
TransactionId) );
67: 
$attachments->Limit(FIELD =>
'Filename', OPERATOR => 'IS NOT',
VALUE => 'NULL', QUOTEVALUE => 0,
ENTRYAGGREGATOR => 'AND');
68: 
$attachments->Limit(FIELD =>
'Filename', OPERATOR => '!=', VALUE
=> '', ENTRYAGGREGATOR => 'AND');
69: 
while (my $attach =
$attachments->Next()) {
70: 
next unless ($attach->Filename());
... 

code stack:   /opt/rt3/share/html/Ticket/Elements/ShowAttachments:66
/opt/rt3/share/html/Ticket/Elements/ShowSummary:68
/opt/rt3/share/html/Ticket/Display.html:33
/opt/rt3/share/html/autohandler:195

Anyone any ideas where to look. ShowAttachments is the default
unmoderated file from the distro.


-- 
Rick Ellis <Richard.Ellis at Sun.COM>




More information about the rt-users mailing list