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.
Note: See
TracTickets for help on using
tickets.
Stringifies tickets IDs when pushing them to the list to be join()'ed.