Modify

Opened 8 years ago

Closed 8 years ago

Last modified 19 months ago

#1241 closed defect (fixed)

Using mastertickets plugin with already existants tickets cause error

Reported by: nextime Owned by: coderanger
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 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by nextime

comment:1 Changed 8 years ago by coderanger

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 19 months ago by rjollos

(In [12867]) MasterTicketsPlugin:

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.