#12642 closed enhancement (fixed)
Notice when no actions started with <none> status in workflow
Reported by: | Jun Omae | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.3 |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
|
||
API Changes: | |||
Internal Changes: |
Description
If ticket-workflow has no actions started with <none> status, Action in newticket page would be blank. As a result, it would be unable to create new ticket.
The following warning would be shown after submitting:
I think we should some warning message for ticket-workflow in Action area should be shown. Thoughts?
Attachments (2)
Change History (8)
by , 8 years ago
Attachment: | blank-action.png added |
---|
by , 8 years ago
Attachment: | warning-on-create.png added |
---|
comment:1 by , 8 years ago
comment:2 by , 8 years ago
There is similar issue when no actions for current status on Trac 1.0.x. The action "view" is not available
warning would be shown. Of course, view
action is not used in workflow but is used as default of action
parameter at tags/trac-1.0.13/trac/ticket/web_ui.py@:534-535#L518. This behavior confused me.
comment:3 by , 7 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:4 by , 7 years ago
Milestone: | next-stable-1.2.x → 1.3.3 |
---|
I've prepared changes in [70cafab33/rjollos.git]. I don't want to spend the time to backport to 1.2-stable and 1.0-stable since the issue only occurs with incorrect configuration, but feel free to backport if it's important.
I'll add tests before committing.
comment:5 by , 7 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Fixed in r16243.
Replying to Jun Omae:
Yes, that sounds good, and maybe also disable the Create ticket button (and Preview button, if it also results in the
The action "None" is not available
warning).