Modify

Opened 17 years ago

Closed 17 years ago

#1240 closed defect (duplicate)

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 (0)

Change History (1)

comment:1 Changed 17 years ago by nextime

Resolution: duplicate
Status: newclosed

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.