Ticket #6747 (closed defect: fixed)
Opened 4 years ago
Last modified 4 years ago
set_owner and set_resolution on a state change in a workflow result in poor formatting
| Reported by: | mark.m.mcmahon@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | low | Milestone: | 0.11 |
| Component: | ticket system | Version: | devel |
| Severity: | minor | Keywords: | |
| Cc: | mark.m.mcmahon@… | ||
| Release Notes: | |||
| API 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
Change History
Changed 4 years ago by mark.m.mcmahon@…
- Attachment set_owner_and_set_resolution.PNG added
Changed 4 years ago by mark.m.mcmahon@…
- Attachment space_after_to.diff added
patch to add a space after to %s
comment:1 Changed 4 years ago by ecarter
- Resolution set to fixed
- Status changed from new to closed



Example of poor formatting