Modify ↓
Opened 17 years ago
Closed 17 years ago
#6747 closed defect (fixed)
set_owner and set_resolution on a state change in a workflow result in poor formatting
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | low | Milestone: | 0.11 |
Component: | ticket system | Version: | devel |
Severity: | minor | Keywords: | |
Cc: | mark.m.mcmahon@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
If you have both a set_resolution and a set_owner for a workflow item e.g.
decline = open -> declined decline.operations = set_owner,set_resolution decline.set_owner = QA decline.set_resolution = Next Release, Next Main Release, Not A Bug
then you get for the decline action…
"decline to QAas
" (see image attached)
It was interesting to see that when I cut and pasted from the Browser that there was an extra space between "decline" and "to" (which is not noticable in the rendered page). Because of this the easiest fix would be to just add a space after "to %s" in default_workflow.py (patch attached).
(this was on 0.11dev-r6425)
Attachments (2)
Change History (3)
by , 17 years ago
Attachment: | set_owner_and_set_resolution.PNG added |
---|
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Example of poor formatting