Opened 14 years ago

Closed 12 years ago

Last modified 12 years ago

#7607 closed defect (fixed)

Fix exception in TicketLinks.__repr__ — at Version 2

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.

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)
Note: See TracTickets for help on using tickets.