[rt-users] Failed upgrade from 3.0.8 to 3.0.9

Maxime Henrion mux at qualigaz.com
Tue Feb 17 05:10:52 EST 2004


    Hello,


I'm getting the following error when trying to display a ticket after
having updated RT to 3.0.9.  What did I miss?

Thanks in advance,
Maxime

      error:  Can't locate object method "Columns" via package
"RT::Attachments" at
/usr/share/request-tracker3/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/share/request-tracker3/html/Ticket/Elements/ShowAttachments:66
      /usr/share/request-tracker3/html/Ticket/Elements/ShowSummary:68
      /usr/share/request-tracker3/html/Ticket/Display.html:33
      /usr/share/request-tracker3/html/autohandler:195

raw error




More information about the rt-users mailing list