[rt-users] RTFM: features of integration to RT missing

Ulrike Lindemann Ulrike.Lindemann at desy.de
Mon Nov 26 06:36:56 EST 2007


Hi everyone,

I just tested RTFM 2.2.1.0 on RT 3.6.5 and  I'm very happy, that the
search in the custom fields of an article works fine now! Thanks!


But I found some bugs resp. we miss some features, that have been 
introduced in one of the previous versions (don't know in which version 
exactly).

1. Links between ticket and article

If you use an RTFM article to answer a ticket in the RT, it is very
useful to have an (automatically generated) link between the ticket and 
the article.  This link is set using "Search for RTFM articles 
matching". Unfortunately it will not be set automatically by using
"Include RTFM article" in the Reply Mask of the ticket.


2. clickable Links on searched article in the tickets reply mask

If you reply on a ticket and search via the field "Search for RTFM
articles matching", you get the matching articles, but the given article 
names/summaries are not hyperlinks, so you can't easily view
the full information of the article to decide which one is the best for 
anwering. (And if you click on "Go" to paste the content in the 
reply-field, you paste only the configurated data of an article which 
may be not sufficient to decide).


3. Error caused by setting links to non-existing tickets

If you try to create an link in an article via "refers to"
and the given ticketnumber isn't valid you get the error below whenever 
you try to view the article



Any hints and experiences are welcome!

Best regards from Hamburg, Ulrike



System error
error:  	Can't call method "IsLocal" on an undefined value at
/opt/rt3/lib/RT/URI.pm line 247.
context:  	
...  	
243:  	=cut
244:  	
245:  	sub IsLocal {
246:  	my $self = shift;
247:  	return $self->Resolver->IsLocal;
248:  	}
249:  	
250:  	
251:  	# }}}
...  	
code stack:  	/opt/rt3/lib/RT/URI.pm:247
/opt/rt3/lib/RT/Links_Overlay.pm:159
/opt/rt3/share/html/RTFM/Article/Elements/ShowLinks:24
/opt/rt3/share/html/RTFM/Article/Display.html:30
/opt/rt3/share/html/autohandler:292
raw error


Can't call method "IsLocal" on an undefined value at
/opt/rt3/lib/RT/URI.pm line 247.


Trace begun at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm
line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call
method "IsLocal"
on an undefined value at /opt/rt3/lib/RT/URI.pm

line 247.^J') called at /opt/rt3/lib/RT/URI.pm line 247
RT::URI::IsLocal('RT::URI=HASH(0xb4b11f8)') called at
/opt/rt3/lib/RT/Links_Overlay.pm line 159
RT::Links::Next('RT::Links=HASH(0xb077798)') called at
/opt/rt3/share/html/RTFM/Article/Elements/ShowLinks line 24
HTML::Mason::Commands::__ANON__('article',
'RT::FM::Article=HASH(0xb4aaee8)') called at

/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased
=HASH(0xadd0934)',
'article',

'RT::FM::Article=HASH(0xb4aaee8)') called at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1255
eval {...} at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1249
HTML::Mason::Request::comp(undef, undef, 'article',
'RT::FM::Article=HASH(0xb4aaee8)') called at

/opt/rt3/share/html/RTFM/Article/Display.html line 30
HTML::Mason::Commands::__ANON__('id', 52) called at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased
=HASH(0xab647d8)',
'id', 52) called at

/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1255
eval {...} at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1249
HTML::Mason::Request::comp(undef, undef, undef, 'id', 52) called at
/opt/rt3/share/html/autohandler line 292
HTML::Mason::Commands::__ANON__('id', 52) called at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased
=HASH(0xa9766ac)',
'id', 52) called at

/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1250
eval {...} at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1249
HTML::Mason::Request::comp(undef, undef, undef, 'id', 52) called at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm

line 461
eval {...} at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 461
eval {...} at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 413
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandle
r=HASH(0xb2ffde0)')
called at

/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 167
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Reques
t::ApacheHandler=HASH(0xb2ffde0)')
called at

/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 817
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::Apach
eHandler=HASH(0x9df69ac)',


'Apache2::RequestRec=SCALAR(0xb403158)') called at
/opt/rt3/bin/webmux.pl line 123
eval {...} at /opt/rt3/bin/webmux.pl line 123
RT::Mason::handler('Apache2::RequestRec=SCALAR(0xb403158)')
called at -e
line 0
eval {...} at -e line 0




More information about the rt-users mailing list