Modify ↓
#1241 closed defect (fixed)
Using mastertickets plugin with already existants tickets cause error
Reported by: | nextime | Owned by: | Noah Kantrowitz |
---|---|---|---|
Priority: | normal | Component: | MasterTicketsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
When you try to view an old ticket, created before to install the plugin, the ticket_custom table don't have the relative ticket_custom.name = 'blocking' entry, so, in line 56 of the web_ui.py of mastertickets you get an error cause it try to do a replace on a None value for block_ids.
A simple patch that move the line 56 after the if blocks_ids: line (57) fix this issue.
Attachments (1)
Change History (3)
Changed 18 years ago by
Attachment: | mastertickets.patch added |
---|
comment:1 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [2079]) Handle pre-existing tickets. (Closes #1241, #1267)