[rt-users] Bad URL formation after search a ticket

GARCIA PEREZ, Alberto (Alberto)** CTR ** alberto.garcia_perez at alcatel-lucent.com
Wed Mar 5 04:43:13 EST 2014


My old RT use also /rt/
It happens in every search I try.
This is my DefaultSearchFormat result:

   \'<B><A HREF="__WebPath__/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#\',
   \'<B><A HREF="__WebPath__/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject\',


Alberto García Pérez
alberto.garcia_perez at alcatel-lucent.com

-----Mensaje original-----
De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] En nombre de Kevin Falcone
Enviado el: martes, 04 de marzo de 2014 21:03
Para: rt-users at lists.bestpractical.com
Asunto: Re: [rt-users] Bad URL formation after search a ticket

On Tue, Mar 04, 2014 at 08:44:54AM +0000, GARCIA PEREZ, Alberto (Alberto)** CTR ** wrote:
> What files do you need?
> I attached the RT_Siteconfig.pm and the apache.conf in this email.

You should know that your apache.conf doesn't actually contain your RT apache configuration (it sucks in configuration from elsewhere in the Debian package).

> >    I have just upgrade de RT from 3.6.6 to 4.0.4

Was your old RT located at the root of the server or did it also use /rt/ ?

Also, now that we know you're using Debian packages, at least grab the ones from backports so you have 4.0.19 rather than 4.0.4 from 2011

> >    I have an issue with a bad formation in the URL when I search for some tickets.
> > 
> >    To reproduce the issue, I search a ticket or use the quick search. Then I click on the ticket
> >    title and I can't go into the ticket.
> > 
> >    My correct URL is: 
> >
> > 
> >    But it shows:

If this happens on every search, rather than just some searches, I assume you either have a bogus DefaultSearchResultFormat in your config (but the config you sent says you don't have that).
Alternately, you could have a bogus personal search format.

Go check Tools -> Admin -> Tools -> System Configuration and search for your DefaultSearchResultFormat, is should have __WebPath__s in it.

If it only happens for you, or only happens on some searches, there are different problems it could be.


More information about the rt-users mailing list