Hi,

On Thu, Sep 23, 2010 at 10:23 PM, Mat Booth <[email protected]> wrote:
> In case anyone is interested, I wrote a plug-in to make any standard
> field or custom field required based on arbitrary boolean expressions
> that can be configured in an admin panel.
>
> For example, in the Trac instance I manage, I have a testing field. My
> plug-in allows you to say "make testing a required field when (status
> == closed && resolution != duplicate)" to force the user to fill in
> the custom testing field when they close a ticket that isn't a
> duplicate.
>
> http://www.matbooth.co.uk/trac/wiki/TicketValidationStart
>

Yes that is very cool :)

>From the quick play I had with it - it works very well. (with custom fields 
>etc)

Are you suggesting that it may be integrated into Trac core? If so
then it would probably need modification to fit in (Trac may not want
PyParsing as a dependency for example).

Also more documentation would be good - I would not have figured out
that status conditions conditions are supported without the example in
your previous email.

I added a comment to the ticket pointing people to your hack in case
they need this in the meantime.
http://trac.edgewall.org/ticket/2463#comment:15

>
> --
> Mat Booth

Thanks
  Mark

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to