[rt-users] Can't locate object method "LimitToChildType"
Zbigniew
zbigniew at starpower.net
Fri Apr 8 13:25:01 EDT 2005
Recently upgraded from 3.2 to 3.4.1 and I'm getting this on a lot of pages.
Any suggestions?
-Patrick
Find groups whose
System error
error: Can't locate object method "LimitToChildType" via package
"RT::CustomFields" at /opt/rt3/share/html/Elements/SelectGroups line 58.
context:
...
54: <& /Elements/SelectMatch, Name=> 'GroupOp' &>
55: <input size=8 name="GroupString">
56: <%INIT>
57: my $CFs = RT::CustomFields->new($session{'CurrentUser'});
58: $CFs->LimitToChildType('RT::Group');
59: $CFs->OrderBy( FIELD => 'Name' );
60: </%INIT>
61:
code stack: /opt/rt3/share/html/Elements/SelectGroups:58
/opt/rt3/share/html/Admin/Groups/index.html:72
/opt/rt3/share/html/Admin/autohandler:47
/opt/rt3/share/html/autohandler:215
raw <https://www.integrity-apps.com/rt/Admin/Groups/index.html#raw> 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.4/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.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa29c15
8)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm
line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/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.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa27c34
4)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm
line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x
ad3073c)') called at /opt/rt3/share/html/Admin/autohandler line 47
HTML::Mason::Commands::__ANON__ at
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa5de38
c)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm
line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x
ad3073c)') called at /opt/rt3/share/html/autohandler line 215
HTML::Mason::Commands::__ANON__ at
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa16a0b
4)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm
line 1069
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm
line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm
line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xad307
3c)') called at
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
eval {...} at
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandl
er=HASH(0xad3073c)') called at
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(
0x91d1e70)', 'Apache::RequestRec=SCALAR(0xa4c6bf4)') called at
/opt/rt3/bin/webmux.pl line 105
eval {...} at /opt/rt3/bin/webmux.pl line 105
RT::Mason::handler('Apache::RequestRec=SCALAR(0xa4c6bf4)') called at -e line
0
eval {...} at -e line 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050408/29d47b41/attachment.htm>
More information about the rt-users
mailing list