Modify

Opened 17 years ago

Closed 17 years ago

Last modified 11 years ago

#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)

mastertickets.patch (799 bytes) - added by nextime 17 years ago.

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by nextime

Attachment: mastertickets.patch added

comment:1 Changed 17 years ago by Noah Kantrowitz

Resolution: fixed
Status: newclosed

(In [2079]) Handle pre-existing tickets. (Closes #1241, #1267)

comment:2 Changed 11 years ago by Ryan J Ollos

(In [12867]) MasterTicketsPlugin:

Handle pre-existing tickets. (Closes #1241, #1267)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.