#7232 closed defect (fixed)
Workflow, action title disabled (grayed out)
Reported by: | Owned by: | Eli Carter | |
---|---|---|---|
Priority: | normal | Milestone: | 0.11 |
Component: | ticket system | Version: | 0.11b2 |
Severity: | normal | Keywords: | workflow |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I was working on some custom workflow actions when one of my action titles ended up gray.
I've attached an example on how to recreate the issue.
Note: no entry should be made in [ticket-workflow] section for this plugin example. Just remember to add the TestveActionController to the available workflows.
By changing the id to something else the the action name the problem is solved.
control.append(tag([' ', tag.input(type='text', id='testing_%s' % ticket['status'],
Attachments (1)
Change History (5)
by , 17 years ago
Attachment: | gray_title.txt added |
---|
comment:1 by , 17 years ago
Status: | new → assigned |
---|
comment:2 by , 17 years ago
Further, this means that the names of actions have to be unique as id
s in the ticket.html… and that is less than desirable. So, I'm changing it to prefix each of those id
s with action_
. So the id
s used as part of a ticket action control should look like "action_%s_whatever" % action
.
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The name of the action is used as the id for the radio button. Any id used within the control needs to be made unique, such as by using the
action
value as part of any id.For example:
Looks like I'd better document this.