[rt-users] callback for Search/Simple.html not working on freebsd

Kevin Falcone falcone at bestpractical.com
Thu Dec 9 09:04:18 EST 2010


On Tue, Dec 07, 2010 at 05:47:06PM +0300, alexander lunev wrote:
> FreeBSD port installs RT files under /usr/local/share:
> 
> # ls /usr/local/share/rt38
> etc     fonts   html    lib     local   plugins po
> 
> I created file with callback:
> 
> /usr/local/share/rt38/local/html/Callbacks/MyCallbacks/Search/Simple.html/ModifyQuery:

You should really confirm from Configuration -> Tools -> System
Configuration that you have the correct MasonLocalComponentRoot

New enough RTs will also include a mason template search order listing

Also, you don't seem to have answered the question posed earlier about
whether or not you cleared your mason cache after writing this
callback.

You also don't have any logging in your callback which means you can't
tell whether or not it worked without examining the results.

-kevin

> <%init>
>  $$query = $$query . " new open resolved stalled rejected deleted";
>  </%init>
> 
>  <%args>
>  $query => undef
>  </%args>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101209/f6c923c0/attachment.sig>


More information about the rt-users mailing list