[rt-users] What's the best way to report bugs?

Justin Clift justin at postgresql.org
Tue Oct 21 13:52:34 EDT 2003


Hi everyone,

I'm a new user to RT (3.0.6) and RTFM (2.0.1) on Red Hat 9, and I'm 
getting a persistent error in trying to "modify" a particular article 
that has a few custom fields.

Is there a "best way" of reporting what looks like it might be a bug or 
following through with this somehow?

Btw - This particular article had this error also when it was created. 
It's main use is a custom field called "Content" that's a TextSingle 
that I've started using for holding cut-n-pastes of email's that are 
leads for looking into further.

Did a "refresh" of the initial creation of this article and the error 
*didn't* occur, it created a new article with the content, but it 
truncated most of the content from the "Content" field.

Not sure if that makes sense, I'm *really* tired.  ;-)

Regards and best wishes,

Justin Clift


If it's any help, I've cut-n-pasted the "System Error" page that pops up 
when trying to "Modify" the article.

***

System error
error:  	Can't call method "Content" on an undefined value at 
/opt/rt/share/html/RTFM/Article/Elements/EditCustomFields line 27.
context:  	
...  	
23:  	<td valign="top" 
align="right"><B><%$CustomField->Name%></b><br><small><i>(<%$CustomField->Type%>)</i></small></td>
24:  	<td valign="top">
25:  	% if ($CustomField->Type eq 'FreeformSingle') {
26:  	<input 
name="Article-<%$ArticleObj->Id%>-CustomField-<%$CustomField->Id%>-Value"
27:  	value="<%$Values->First->Content%>">
28:  	% }
29:  	% elsif ($CustomField->Type eq 'FreeformMultiple') {
30:  	<textarea 
name="Article-<%$ArticleObj->Id%>-CustomField-<%$CustomField->Id%>-Values">
31:  	%while (my $value = $Values->Next ) {
...  	
code stack:  	/opt/rt/share/html/RTFM/Article/Elements/EditCustomFields:27
g /opt/rt/share/html/RTFM/Article/Edit.html:30
g /opt/rt/share/html/autohandler:182
g
raw error


[ snipped out a whole bunch of newlines here ]


Can't call method "Content" on an undefined value at 
/opt/rt/share/html/RTFM/Article/Elements/EditCustomFields line 27.


Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm 
line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Content" 
on an undefined value at 
/opt/rt/share/html/RTFM/Article/Elements/EditCustomFields line 27.^J') 
called at /opt/rt/share/html/RTFM/Article/Elements/EditCustomFields line 27
HTML::Mason::Commands::__ANON__('ArticleObj', 
'RT::FM::Article=HASH(0x9dd1864)') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9c78b78)', 
'ArticleObj', 'RT::FM::Article=HASH(0x9dd1864)') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1074
eval {...}('HTML::Mason::Component::FileBased=HASH(0x9c78b78)', 
'ArticleObj', 'RT::FM::Article=HASH(0x9dd1864)') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'ArticleObj', 
'RT::FM::Article=HASH(0x9dd1864)') called at 
/opt/rt/share/html/RTFM/Article/Edit.html line 30
HTML::Mason::Commands::__ANON__('id', 5, 'id', 5) called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9c3ad28)', 
'id', 5, 'id', 5) called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1074
eval {...}('HTML::Mason::Component::FileBased=HASH(0x9c3ad28)', 'id', 5, 
'id', 5) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm 
line 1068
HTML::Mason::Request::comp(undef, undef, 'id', 5, 'id', 5) called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9dd17bc)', 
'id', 5) called at /opt/rt/share/html/autohandler line 182
HTML::Mason::Commands::__ANON__('id', 5) called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x952d9d4)', 
'id', 5) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm 
line 1069
eval {...}('HTML::Mason::Component::FileBased=HASH(0x952d9d4)', 'id', 5) 
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, 'id', 5) called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {...}(undef, undef, undef, 'id', 5) called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {...}(undef, undef, undef, 'id', 5) called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9dd17bc)') 
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm 
line 134
eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9dd17bc)') called 
at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9dd17bc)') 
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm 
line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x91cde5c)', 
'Apache::RequestRec=SCALAR(0x9de7ec0)') called at /opt/rt/bin/webmux.pl 
line 135
eval {...}('HTML::Mason::ApacheHandler=HASH(0x91cde5c)', 
'Apache::RequestRec=SCALAR(0x9de7ec0)') called at /opt/rt/bin/webmux.pl 
line 135
RT::Mason::handler('Apache::RequestRec=SCALAR(0x9de7ec0)') called at -e 
line 0
eval {...}('Apache::RequestRec=SCALAR(0x9de7ec0)') called at -e line 0

***




More information about the rt-users mailing list