[rt-users] Error in 3.0.9

Rabbie Zalaf ZalafR at Leadingedgegroup.com.au
Wed Mar 10 18:51:31 EST 2004


I have updated to rt-3.0.9 and have perl 5.8.3 and have updated
DBIx::SearchBuilder and still get

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

cpan> install DBIx::SearchBuilder
DBIx::SearchBuilder is up to date.

And have also tried updating from the tar.gz from cpan.org.. Still no go .

Any help please?



-----Original Message-----
From: Todd Chapman [mailto:rt at chaka.net] 
Sent: Tuesday, March 09, 2004 12:53 AM
To: Rick Ellis
Cc: rt list
Subject: Re: [rt-users] Error in 3.0.9


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
_______________________________________________
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