And you haven't set any permissions on the file...does that matter?
-----Original Message----- From: Izz Abdullah Sent: Thursday, October 13, 2011 10:13 AM To: '[email protected]' Subject: RE: [rt-users] help with ModifyQuery callback That's another thing. Your logger looks different from what I have seen. Yours: RT->Logger->error("Hi) What I have seen: $RT::Logger->error("Hi"); Yours doesn't have a semicolon and is called differently, or is it essentially called the same? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kevin Falcone Sent: Thursday, October 13, 2011 10:03 AM To: [email protected] Subject: Re: [rt-users] help with ModifyQuery callback 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 > ) -------- 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
