Modify ↓
Opened 12 years ago
Closed 10 years ago
#10524 closed defect (fixed)
Changing the ticket type fails when ticket status does not exist
Reported by: | Owned by: | Cinc-th | |
---|---|---|---|
Priority: | normal | Component: | MultipleWorkflowPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Changing the ticket type gives the error below when the new ticket type does not have the ticket status of the old ticket type.
Trac detected an internal error: KeyError: '_reset' Most recent call last: File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 450, in _dispatch_request File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 206, in dispatch File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 182, in process_request File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 536, in _process_ticket_request File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 1264, in _insert_ticket_data File "build/bdist.linux-x86_64/egg/MultipleWorkflowPlugin/MultipleWorkflowPlugin.py", line 200, in render_ticket_action_control
Attachments (0)
Change History (3)
comment:1 Changed 10 years ago by
Owner: | changed from Ermal Memushaj to Cinc-th |
---|---|
Status: | new → assigned |
comment:2 Changed 10 years ago by
Status: | assigned → accepted |
---|
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
[14566]: Offer a ticket action to reset the status when ticket has an invalid status after a type change.
An invalid status is any status which is not defined in the active workflow.
Note: See
TracTickets for help on using
tickets.
I can confirm the bug with 0.12.5:
Configuration in trac.ini: