[rt-users] RT upgrade problem
jean-pierre Cartal
jean-pierre.cartal at rld.fr
Thu Feb 17 02:02:40 EST 2005
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 :
http://www.gossamer-threads.com/lists/rt/users/40780
Did anyone else had this problem and more important found a solution ?
Regards.
More information about the rt-users
mailing list