Modify

Opened 14 years ago

Closed 12 years ago

Last modified 12 years ago

#7607 closed defect (fixed)

Fix exception in TicketLinks.__repr__

Reported by: Eygene Ryabinkin Owned by: Noah Kantrowitz
Priority: normal Component: MasterTicketsPlugin
Severity: major Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

str.join() wants a list of strings to join, but it is fed with the list of integers. So, when exception in the plugin is caught by Trac and it wants to represent the TicketLinks object as a string, the second exception strikes and Trac dumps ugly textual backtrace.

The patch is attached.

Attachments (1)

extra-patch-0.12-stringify-ids (473 bytes) - added by Eygene Ryabinkin 14 years ago.
Stringifies tickets IDs when pushing them to the list to be join()'ed.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by Eygene Ryabinkin

Stringifies tickets IDs when pushing them to the list to be join()'ed.

comment:1 Changed 12 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

comment:2 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)

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.