Opened 14 years ago

Last modified 12 years ago

#7607 closed defect

Fix exception in TicketLinks.__repr__ — at Initial Version

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

Description

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 TicketLinks object as a string, the second exception strikes and Trac dumps ugly textual backtrace.

The patch is attached.

Change History (1)

Changed 14 years ago by Eygene Ryabinkin

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

Note: See TracTickets for help on using tickets.