RT upgrade problem

Hello,

I upgraded from rt 3.2.1 to 3.4.1 and the search link is not working
anymore.

Here’s the error message I get when I click on the ticket link :

error:
too many arguments at /usr/local/rt3/lib/RT/Tickets_Overlay.pm line
1257
context:

187:

whether they should generate a full stack trace (confess() and cluck

())
188:

or simply report the caller’s package (croak() and carp()),

respectively.
189:

confess() and croak() die, carp() and cluck() warn.

190:

191:
sub croak { die shortmess @_ }
192:
sub confess { die longmess @_ }
193:
sub carp { warn shortmess @_ }
194:
sub cluck { warn longmess @_ }
195:

code stack:
/usr/lib/perl5/5.8.4/Carp.pm:191
…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/logcroak.al):71
…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/_freeze.al):283
…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/freeze.al):266
/usr/local/rt3/lib/RT/Tickets_Overlay.pm:1257
/usr/local/rt3/share/html/RTIR/Elements/SearchFields:63
/usr/local/rt3/share/html/RTIR/Listing.html:36
/usr/local/rt3/share/html/RTIR/autohandler:2
/usr/local/rt3/share/html/autohandler:215

raw error

too many arguments at /usr/local/rt3/lib/RT/Tickets_Overlay.pm line
1257

Trace begun at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Exceptions.pm
line 131
HTML::Mason::Exceptions::rethrow_exception(‘too many arguments at
/usr/local/rt3/lib/RT/Tickets_Overlay.pm line 1257^J’) called at
/usr/lib/perl5/5.8.4/Carp.pm line 191
Carp::croak(‘too many arguments’) called at …/…/lib/Storable.pm
(autosplit into …/…/lib/auto/Storable/logcroak.al) line 71
Storable::logcroak(‘too many arguments’) called
at …/…/lib/Storable.pm
(autosplit into …/…/lib/auto/Storable/_freeze.al) line 283
Storable::_freeze(‘CODE(0x852c8e4)’, ‘REF(0x998e2ac)’,
‘SCALAR(0x998e564)’, ‘SCALAR(0x999dc44)’, ‘SCALAR(0x999db54)’) called
at
…/…/lib/Storable.pm (autosplit
into …/…/lib/auto/Storable/freeze.al)
line 266
Storable::freeze(‘REF(0x998e2ac)’, ‘SCALAR(0x998e564)’,
‘SCALAR(0x999dc44)’, ‘SCALAR(0x999db54)’) called at
/usr/local/rt3/lib/RT/Tickets_Overlay.pm line 1257
RT::tickets::FreezeLimits(‘RT::Tickets=HASH(0x999dd58)’) called at
/usr/local/rt3/share/html/RTIR/Elements/SearchFields line 63
HTML::Mason::Commands::ANON(‘Path’, ‘/RTIR/Listing.html’, ‘Queue’,
‘Incidents’, ‘NewSearch’, 1, ‘Queue’, ‘Incidents’) called at
/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH
(0x99e5468)’,
‘Path’, ‘/RTIR/Listing.html’, ‘Queue’, ‘Incidents’, ‘NewSearch’, 1,
‘Queue’, ‘Incidents’) called at
/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1074
eval {…} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line
1068
HTML::Mason::Request::comp(undef, undef, ‘Path’, ‘/RTIR/Listing.html’,
‘Queue’, ‘Incidents’, ‘NewSearch’, 1, ‘Queue’, ‘Incidents’) called at
/usr/local/rt3/share/html/RTIR/Listing.html line 36
HTML::Mason::Commands::ANON(‘NewSearch’, 1, ‘Queue’, ‘Incidents’,
‘NewSearch’, 1, ‘Queue’, ‘Incidents’) called at
/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH
(0x98bad04)’,
‘NewSearch’, 1, ‘Queue’, ‘Incidents’, ‘NewSearch’, 1, ‘Queue’,
‘Incidents’) called at
/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1074
eval {…} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line
1068
HTML::Mason::Request::comp(undef, undef, ‘NewSearch’, 1, ‘Queue’,
‘Incidents’, ‘NewSearch’, 1, ‘Queue’, ‘Incidents’) called at
/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next
(‘HTML::Mason::Request::ApacheHandler=HASH(0x983a048)’)
called at /usr/local/rt3/share/html/RTIR/autohandler line 2
HTML::Mason::Commands::ANON(‘NewSearch’, 1, ‘Queue’, ‘Incidents’,
‘NewSearch’, 1, ‘Queue’, ‘Incidents’) called at
/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH
(0x985c5f4)’,
‘NewSearch’, 1, ‘Queue’, ‘Incidents’, ‘NewSearch’, 1, ‘Queue’,
‘Incidents’) called at
/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1074
eval {…} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line
1068
HTML::Mason::Request::comp(undef, undef, ‘NewSearch’, 1, ‘Queue’,
‘Incidents’, ‘NewSearch’, 1, ‘Queue’, ‘Incidents’) called at
/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next
(‘HTML::Mason::Request::ApacheHandler=HASH(0x983a048)’,
‘NewSearch’, 1, ‘Queue’, ‘Incidents’) called at
/usr/local/rt3/share/html/autohandler line 215
HTML::Mason::Commands::ANON(‘NewSearch’, 1, ‘Queue’, ‘Incidents’)
called at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line
136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH
(0x98666d8)’,
‘NewSearch’, 1, ‘Queue’, ‘Incidents’) called at
/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1069
eval {…} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line
1068
HTML::Mason::Request::comp(undef, undef, undef, ‘NewSearch’, 1,
‘Queue’,
‘Incidents’) called at
/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {…} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line
338
eval {…} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line
297
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH
(0x983a048)’)
called at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm
line
134
eval {…}
at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm
line 134
HTML::Mason::Request::ApacheHandler::exec
(‘HTML::Mason::Request::ApacheHandler=HASH(0x983a048)’)
called at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm
line
827
HTML::Mason::ApacheHandler::handle_request
(‘HTML::Mason::ApacheHandler=HASH(0x9345d30)’,
‘Apache::RequestRec=SCALAR(0x996c3c8)’) called at
/usr/local/rt3/bin/webmux.pl line 136
eval {…} at /usr/local/rt3/bin/webmux.pl line 136
RT::Mason::handler(‘Apache::RequestRec=SCALAR(0x996c3c8)’) called at -e
line 0
eval {…} at -e line 0

I managed to have the search function working again by commenting or
deleting all call to the FreezeLimits function in :
share/html/Search/Elements/PickRestriction
share/html/Search/Elements/TicketHeaderCell
share/html/Search/Listing.html

Apparently somebody else is experiencing the exact same problem :

Did anyone else had this problem and more important found a solution ?

Regards.

Hello,

I upgraded from rt 3.2.1 to 3.4.1 and the search link is not working
anymore.

That sure looks like you’re using RTIR. And there’s no production
release of RTIR that works right on RT 3.2. What release are you
running?

In fact RTIR is installed but we’re not using it at all. I tried to
remove it but I surely missed something as I still get the error
message. i removed all RTIR directory and files found under /opt/rt3, is
there something else I should do ?

Regards.
Le jeudi 17 fᅵvrier 2005 ᅵ 02:32 -0500, Jesse Vincent a ᅵcrit :

Hello,

I upgraded from rt 3.2.1 to 3.4.1 and the search link is not working
anymore.

That sure looks like you’re using RTIR. And there’s no production
release of RTIR that works right on RT 3.2. What release are you
running?

Jean-Pierre Cartal
Responsable infrastructure et sᅵcuritᅵ
RLD
GSM : 06 78 75 08 35
LD : 01 55 58 58 31
Fax : 01 55 58 58 01

Hello,

For those facing the same problem, the solution I found was to remove
the /opt/rt3 directory and reinstall rt 3.4.1 using the upgrade
procedure without going through the database upgrading process.

Regards.

Le jeudi 17 fᅵvrier 2005 ᅵ 08:02 +0100, jean-pierre Cartal a ᅵcrit :