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

GARCIA PEREZ, Alberto (Alberto)** CTR ** alberto.garcia_perez at alcatel-lucent.com
Thu Mar 6 05:10:42 EST 2014


I can't search tickets just with my admin user.
I have executed ./rt-attributes-viewer 4     (id=4)  and this is the output:

Content of attribute #4: $VAR1 = {
          'ContentType' => 'storable',
          'Content' => {
                         'Order' => 'ASC|ASC|ASC|ASC',
                         'OrderBy' => 'id',
                         'Format' => '\'   <B><A HREF="/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#\',
\'<B><A HREF="/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject\',
\'__Status__\',
\'__QueueName__\',
\'__OwnerName__\',
\'__Priority__\',
\'__NEWLINE__\',
\'\',
\'<small>__Requestors__</small>\',
\'<small>__CreatedRelative__</small>\',
\'<small>__ToldRelative__</small>\',
\'<small>__LastUpdatedRelative__</small>\',
\'<small>__TimeLeft__</small>\'',
                         'RowsPerPage' => '100'
                       },
          'Description' => undef,
          'Name' => 'Pref-SearchDisplay',
          'ObjectId' => '22',
          'ObjectType' => 'RT::User'
        };

Thanks and Regards


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

-----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: miércoles, 05 de marzo de 2014 21:51
Para: rt-users at lists.bestpractical.com
Asunto: Re: [rt-users] Bad URL formation after search a ticket

On Wed, Mar 05, 2014 at 09:43:13AM +0000, GARCIA PEREZ, Alberto (Alberto)** CTR ** wrote:
> 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>/T
> ITLE:Subject\',

This looks correct.  You didn't answer if this is only you or if it's any and all users, but one last thing you can check is your personal search preferences.  Go look in the database and find the id of the row in the Attributes table with a Name of Pref-SearchDisplay and Creator of your user id.  Take that id and run rt-attributes-viewer id and show it.

-kevin



More information about the rt-users mailing list