Workflow action names are not shown
|Reported by:||Ryan J Ollos||Owned by:||Ryan J Ollos|
Fixed workflow action labels are not displayed unless
Description (last modified by )
On a clean install of Trac 1.0.3, the workflow controls show the following:
This is a major regression that I introduced in , and managed to overlook in further development and while testing the release. It likely warrants immediate release of Trac 1.0.4 with a fix. Please let me know thoughts on that. The issue is not present in Trac 1.1.4.
diff --git a/trac/ticket/default_workflow.py b/trac/ticket/default_workflow.py index a9b614d..57c1654 100644
a b def parse_workflow_config(rawactions): 70 70 actions[name][attribute] = to_list(value) 71 71 else: 72 72 actions[name][attribute] = value 73 74 75 73 76 return actions
Workaround is to add a name attribute to every workflow action.