Eli,

While you are at it can you make a small change to the
parse_workflow_config function in default_workflow.py.  If in the
ticket-workflow configuration there is a typo in the action name as in
the following example the line of code for "Normalize the oldstates"
will raise an exception as no action is associated with the typo will
have oldstates.  Could you capture the exception or check for the
oldstates attribute and raise in error stating that resolveTYPO action
does not have any oldstates associated with it.

[ticket-workflow]
; trivial-workflow.ini

resolve = new -> closed
resolveTYPO.permissions = TICKET_MODIFY
resolve.operations = set_resolution

[snip]

I could submit a patch but the change is very trivial.

John


--~--~---------~--~----~------------~-------~--~----~
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