[rt-users] Upgrade from 3.0.7_01 to 3.0.9 error
Mathew Anderson
mathew at osogrande.com
Mon Feb 23 10:40:23 EST 2004
Hello -
I recently upgraded from 3.0.7_01 to 3.0.9. The ugrade seemed to have
gone well, until I tried to open a ticket.
(This is on redhat 9, with MySQL on the localhost)
Logging in, viewing the ticket ques is fine. But when I select a ticket to
view I get the following:
System error
error: Can't locate object method "Columns" via package
"RT::Attachments" at
/usr/local/rt/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: /usr/local/rt/share/html/Ticket/Elements/ShowAttachments:66
/usr/local/rt/share/html/Ticket/Elements/ShowSummary:68
/usr/local/rt/share/html/Ticket/Display.html:33
/usr/local/rt/share/html/autohandler:195
When I moved back my copy of 3.0.7_01 I can see some of the tickets fine,
but some also give this error.
Any pointers on how to fix this?
Thanks
Mathew Anderson
More information about the rt-users
mailing list