On Thu, Oct 13, 2011 at 09:48:59AM -0500, Izz Abdullah wrote: > Well it doesn't work for me in this callback.
If my trivial example does not work for you, then something is
fundamentally broken with your RT install.
Stop trying to make your changes to the query until you can get
my example to run.
-kevin
> A trivial Logger call in that callback works fine:
>
> transom:rt4.0.2 root# mkdir -p local/html/Callbacks/Hi/Search/Simple.html/
> transom:rt4.0.2 root# vim
> local/html/Callbacks/Hi/Search/Simple.html/ModifyQuery
> transom:rt4.0.2 root# cat
> local/html/Callbacks/Hi/Search/Simple.html/ModifyQuery
> % RT->Logger->error("Hi")
> transom:rt4.0.2 root# ./sbin/standalone_httpd
> HTTP::Server::PSGI: Accepting connections at http://0:8992/ [Thu Oct 13
> 14:24:19 2011] [info]: Successful login for root from 127.0.0.1
> (/opt/rt4.0.2/sbin/../lib/RT/Interface/Web.pm:660)
> [Thu Oct 13 14:24:19 2011] [error]: Hi
> (/opt/rt4.0.2/local/html/Callbacks/Hi/Search/Simple.html/ModifyQuery:1)
pgpi9yhPBdbbH.pgp
Description: PGP signature
-------- RT Training Sessions (http://bestpractical.com/services/training.html) * San Francisco, CA, USA October 18 & 19, 2011 * Washington DC, USA October 31 & November 1, 2011 * Barcelona, Spain November 28 & 29, 2011
