[rt-users] BUG Can't call method "Scrips" on an undefined value
Michael Hess
mhess at greenhillsschool.org
Thu Feb 24 15:10:06 EST 2005
I am running RT3.4.1 on debain woddy with perl 5.8, modperl1
Can someone tell me why I get this error when I go and comment or reply to
a ticket.
Michael
error: Can't call method "Scrips" on an undefined value at
/usr/local/rt/share/html/Ticket/Elements/PreviewScrips line 95.
context: ...
91: my @non_recipients = $TicketObj->SquelchMailTo;
92: </%init>
93: <h2><&|/l&>This message will be sent to...</&></h2>
94: <i><&|/l&>(Check boxes to disable notifications to the listed
recipients)</&></i><br>
95: % foreach my $scrip (@{$Object->Scrips->Prepared}) {
96: % next unless
$scrip->ActionObj->Action->isa('RT::Action::SendEmail');
97: <b><%$scrip->Description%></b><br>
98: <&|/l, $scrip->ConditionObj->Name, $scrip->ActionObj->Name,
$scrip->TemplateObj->Name&>[_1] [_2] with template [_3]</&>
99: <br>
...
code stack: /usr/local/rt/share/html/Ticket/Elements/PreviewScrips:95
/usr/local/rt/share/html/Ticket/Update.html:132
/usr/local/rt/share/html/autohandler:215
Raw Error
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 call method "Scrips" on
an undefined value at
/usr/local/rt/share/html/Ticket/Elements/PreviewScrips line 95.^J') called
at /usr/local/rt/share/html/Ticket/Elements/PreviewScrips line 95
HTML::Mason::Commands::__ANON__('TicketObj', 'RT::Ticket=HASH(0x94ada04)',
'Action', 'Respond', 'id', 1897) called 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(0x9718658)',
'TicketObj', 'RT::Ticket=HASH(0x94ada04)', 'Action', 'Respond', 'id',
1897) 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, 'TicketObj',
'RT::Ticket=HASH(0x94ada04)', 'Action', 'Respond', 'id', 1897) called at
/usr/local/rt/share/html/Ticket/Update.html line 132
HTML::Mason::Commands::__ANON__('Action', 'Respond', 'id', 1897, 'Action',
'Respond', 'id', 1897) called 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(0x96a64b0)',
'Action', 'Respond', 'id', 1897, 'Action', 'Respond', 'id', 1897) 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, 'Action', 'Respond',
'id', 1897, 'Action', 'Respond', 'id', 1897) 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(0x945bab4)',
'Action', 'Respond', 'id', 1897) called at
/usr/local/rt/share/html/autohandler line 215
HTML::Mason::Commands::__ANON__('Action', 'Respond', 'id', 1897) called 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(0x94a43c0)',
'Action', 'Respond', 'id', 1897) 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, 'Action', 'Respond',
'id', 1897) 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(0x945bab4)')
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(0x945bab4)')
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(0x851d3ac)',
'Apache=SCALAR(0x8633bc0)') called at /usr/local/rt/bin/webmux.pl line 136
eval {...} at /usr/local/rt/bin/webmux.pl line 136
RT::Mason::handler('Apache=SCALAR(0x8633bc0)') called at /dev/null line 0
eval {...} at /dev/null line 0
More information about the rt-users
mailing list