On Mon, Aug 23, 2010 at 05:05:01PM -0500, Francis L Fabrizio wrote: > > > In Ticket/Update.html, you should look at code that call > > /Elements/ValidateCustomFields and do something like this. (i.e. set > > check_failure=1; > > Looked at this for a couple more hours this afternoon and decided to > abandon the ScripAction approach and try to accomplish this via > callback instead. Unfortunately, the checks_failure variable is not > exposed to any of the callbacks in Update.html like it is in > Create.html. That appears to make it very difficult to cause a ticket > update to fail from a callback. Is overlaying the entire Update.html > file the only way to accomplish this? Was trying to avoid that and > the resulting headaches with future upgrades if possible. Any ideas? >
exposing check_failure in a callback is a good idea. Can you provide a patch for this so it will go in RT core? RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
