Can't locate object method "Columns" via package "RT::Attachments"

Hi.

After an upgrade, I get the following error message when creating a ticket:

error: Can’t locate object method “Columns” via package "RT::Attachments"
at /usr/local/rt3/share/html/Ticket/Elements/FindAttachments line 14.
context:

10:
11:
12: my $attachments = RT::Attachments->new( $session{‘CurrentUser’} );
13:
14: $attachments->Columns( qw( Id Filename ContentType Headers Subject
Parent ContentEncoding ContentType TransactionId Created));
15:
16: if ( $Ticket->CurrentUserHasRight(‘ShowTicket’) ) {
17: my $transactions = $attachments->NewAlias(‘Transactions’);
18: $attachments->Join( ALIAS1 => ‘main’,

code stack: /usr/local/rt3/share/html/Ticket/Elements/FindAttachments:14
/usr/local/rt3/share/html/Ticket/Display.html:118
/usr/local/rt3/share/html/Ticket/Create.html:255
/usr/local/rt3/share/html/autohandler:196

The ticket is placed in the queue and the mail is sent.

I am using RT 3.0.10 with DBIx::SearchBuilder 0.99 and most Perl modules up to
date; not up to date are: Apache::AuthDBI, Apache::Test, CGI, Filter::Simple,
Module::Build, Pod::LaTeX, Term::ANSIColor, Term::Cap, Test::Pod, bigint, if.

I have restarted Apache; cleared the Mason cache and restarted Apache; cleared
the Mason cache and rebooted the machine - nothing.

Could anyone please give me a hint?

TIA

Best regards,
Matthias

Matthias Juchem wrote:

error: Can’t locate object method “Columns” via package “RT::Attachments”
at /usr/local/rt3/share/html/Ticket/Elements/FindAttachments line 14.

I am using RT 3.0.10 with DBIx::SearchBuilder 0.99 and most Perl modules up to
date;
I have restarted Apache; cleared the Mason cache and restarted Apache; cleared
the Mason cache and rebooted the machine - nothing.

That error really does mean that your DBIx::SB is too old. Are you
sure there’s not an older version kicking around the machine somewhere
that mod_perl is finding it? (This might be caused by a perl upgrade
being done without a corresponding mod_perl upgrade…)

Matthias Juchem wrote:

error: Can’t locate object method “Columns” via package
“RT::Attachments” at
/usr/local/rt3/share/html/Ticket/Elements/FindAttachments line 14.

That error really does mean that your DBIx::SB is too old. Are you
sure there’s not an older version kicking around the machine somewhere
that mod_perl is finding it? (This might be caused by a perl upgrade
being done without a corresponding mod_perl upgrade…)

Ok, that seemed to be the problem. After an upgrade of mod_perl it seems to
work as before.

Thanks.

Matthias

What version of DBIx::SearchBuilder do you have?

Matthias Juchem wrote:

What version of DBIx::SearchBuilder do you have?

It’s 0.99.

Matthias Juchem wrote:

Ok, that seemed to be the problem. After an upgrade of mod_perl it seems
to work as before.

Matthias