[rt-users] help with ModifyQuery callback

Kevin Falcone falcone at bestpractical.com
Thu Oct 13 11:02:54 EDT 2011


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)
-------------- 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/20111013/2aa83cf6/attachment.sig>


More information about the rt-users mailing list