[rt-users] Error in 3.0.9

Todd Chapman rt at chaka.net
Mon Mar 8 08:53:12 EST 2004


Upgrade DBIx::SearchBuilder.

-Todd

On Mon, Mar 08, 2004 at 01:42:08PM +0000, Rick Ellis wrote:
> 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>
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm



More information about the rt-users mailing list