[rt-users] help with ModifyQuery callback
falcone at bestpractical.com
Thu Oct 13 10:25:05 EDT 2011
On Thu, Oct 13, 2011 at 08:40:51AM -0500, Izz Abdullah wrote:
> and you didn't have anything to say in this user's request on why it doesn't do anything either:
I can't answer every question on the mailing list.
That question is also from a year ago and a different version of RT.
> which also touches on the $RT::Logger not working in his callback, if I could get that to work, I wouldn't be bothering everyone here.
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
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
Size: 195 bytes
Desc: not available
More information about the rt-users