Error in 3.4.1

Hi,

One of my users is reporting an error occurring and it appears to just
be a typing issue that is untrapped.

  1. Save Changes on the Jumbo tab gives the following error. Submitted a
    syntax error to the ticket number quoted for the Depends on Field. Had
    typed in #4 instead of just 4.

System error

error: Can’t call method “Scheme” on an undefined value at
/opt/rt3/lib/RT/Ticket_Overlay.pm line 2581.
context:

2577: elsif ( $args{‘Base’} ) {
2578: $other_ticket_uri->FromURI( $args{‘Base’} );
2579: }
2580:
2581: if ( $other_ticket_uri->Resolver->Scheme eq
’fsck.com-rt’) {
2582: my $object = $other_ticket_uri->Resolver->Object;
2583:
2584: if ( UNIVERSAL::isa( $object, ‘RT::Ticket’ )
2585: && $object->id

code stack: /opt/rt3/lib/RT/Ticket_Overlay.pm:2581
/opt/rt3/lib/RT/Ticket_Overlay.pm:2552
/opt/rt3/lib/RT/Interface/Web.pm:1463
/opt/rt3/lib/RT/Interface/Web.pm:1413
/opt/rt3/share/html/Ticket/ModifyAll.html:154
/opt/rt3/share/html/autohandler:215

RT3.4.1, running on Solaris 9 with Perl 5.8.3 and Apache 1.3.33

I made a fresh install of 3.4.1 and Im getting this error:

Can’t locate object method “LimitToChildType” via package “RT::CustomFields” at /opt/rt3/share/html/Elements/SelectGroups line 58.

Trace begun at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception(‘Can’t locate object method “LimitToChildType” via package “RT::CustomFields” at /opt/rt3/share/html/Elements/SelectGroups line 58.^J’) called at /opt/rt3/share/html/Elements/SelectGroups line 58
HTML::Mason::Commands::ANON at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa6921a0)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /opt/rt3/share/html/Admin/Groups/index.html line 72
HTML::Mason::Commands::ANON at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa67a098)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0xa96ca78)’) called at /opt/rt3/share/html/Admin/autohandler line 47
HTML::Mason::Commands::ANON at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa90d6c8)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0xa96ca78)’) called at /opt/rt3/share/html/autohandler line 215
HTML::Mason::Commands::ANON at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa9385b4)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1069
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xa96ca78)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xa96ca78)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 827
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0xa93afac)’, ‘Apache::RequestRec=SCALAR(0xab99278)’) called at /usr/local/rt3/bin/webmux.pl line 126
eval {…} at /usr/local/rt3/bin/webmux.pl line 126
RT::Mason::handler(‘Apache::RequestRec=SCALAR(0xab99278)’) called at -e line 0
eval {…} at -e line 0

[]'s
Luiz Henrique Ozaki luiz@eaprender.com.br

I made a fresh install of 3.4.1 and Im getting this error:

Can’t locate object method “LimitToChildType” via package
"RT::CustomFields" at /opt/rt3/share/html/Elements/SelectGroups line 58.

It sure appears to be defined in my lib/RT/CustomFields_Overlay.pm.

Jesse Vincent wrote:

I made a fresh install of 3.4.1 and Im getting this error:

Can’t locate object method “LimitToChildType” via package
"RT::CustomFields" at /opt/rt3/share/html/Elements/SelectGroups line 58.

It sure appears to be defined in my lib/RT/CustomFields_Overlay.pm.

Trace begun at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception(‘Can’t locate object method
"LimitToChildType" via package “RT::CustomFields” at
/opt/rt3/share/html/Elements/SelectGroups line 58.^J’) called at
/opt/rt3/share/html/Elements/SelectGroups line 58
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa6921a0)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef) called at
/opt/rt3/share/html/Admin/Groups/index.html line 72
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa67a098)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0xa96ca78)’) called at /opt/rt3/share/html/Admin/autohandler line 47
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa90d6c8)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0xa96ca78)’) called at /opt/rt3/share/html/autohandler line 215
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa9385b4)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1069
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xa96ca78)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
eval {…} at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xa96ca78)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 827
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0xa93afac)’, ‘Apache::RequestRec=SCALAR(0xab99278)’) called at /usr/local/rt3/bin/webmux.pl line 126
eval {…} at /usr/local/rt3/bin/webmux.pl line 126
RT::Mason::handler(‘Apache::RequestRec=SCALAR(0xab99278)’) called at -e
line 0
eval {…} at -e line 0


[]'s
Luiz Henrique Ozaki luiz@eaprender.com.br


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com
for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

I configured in the apache, both versions 3.4 and 3.2. Maybe a conflict ?

They are in different directories. But both are installed.

[]'s
Luiz Henrique Ozaki luiz@eaprender.com.br

I configured in the apache, both versions 3.4 and 3.2. Maybe a conflict ?

They are in different directories. But both are installed.

That doesn’t work with modperl.

Jesse Vincent wrote:

I configured in the apache, both versions 3.4 and 3.2. Maybe a conflict ?

They are in different directories. But both are installed.

That doesn’t work with modperl.


[]'s
Luiz Henrique Ozaki luiz@eaprender.com.br

Can I run the 3.4 with FastCGI without making any changes in 3.2 just
changing the parameters of apache and installing FastCGI ?

Maybe if it works I’ll change the 3.2 to FastCGI too, later…

[]'s
Luiz Henrique Ozaki luiz@eaprender.com.br

At Wednesday 4/6/2005 09:07 AM, Luiz Henrique Ozaki wrote:

Can I run the 3.4 with FastCGI without making any changes in 3.2 just
changing the parameters of apache and installing FastCGI ?

Maybe if it works I’ll change the 3.2 to FastCGI too, later…

You should be able to use modperl if you run two separate instances of
Apache each with its own config file. I’ve used this approach to run an
Oracle RT 3.4.1 instance along with a Mysql 3.4.0rc6 instance. That way you
wouldn’t have to spend time installing & configuring fastcgi.

Steve

Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)

sturner@mit.edu

Stephen Turner wrote:

At Wednesday 4/6/2005 09:07 AM, Luiz Henrique Ozaki wrote:

Can I run the 3.4 with FastCGI without making any changes in 3.2 just
changing the parameters of apache and installing FastCGI ?

Maybe if it works I’ll change the 3.2 to FastCGI too, later…

You should be able to use modperl if you run two separate instances of
Apache each with its own config file. I’ve used this approach to run
an Oracle RT 3.4.1 instance along with a Mysql 3.4.0rc6 instance. That
way you wouldn’t have to spend time installing & configuring fastcgi.

Steve

Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)

sturner@mit.edu

Nice ! Worked ! Thanks !!

[]'s
Luiz Henrique Ozaki luiz@eaprender.com.br