Ticket #7607 (closed defect: fixed)

Opened 3 years ago

Last modified 8 months ago

Fix exception in TicketLinks.__repr__

Reported by: rea Assigned to: coderanger
Priority: normal Component: MasterTicketsPlugin
Severity: major Keywords:
Cc: Trac Release: 0.12

Description (Last modified by rjollos)

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

extra-patch-0.12-stringify-ids (473 bytes) - added by rea on 09/01/10 10:24:19.
Stringifies tickets IDs when pushing them to the list to be join()'ed.

Change History

09/01/10 10:24:19 changed by rea

  • attachment extra-patch-0.12-stringify-ids added.

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

10/08/12 14:23:08 changed by rjollos

  • status changed from new to closed.
  • resolution set to fixed.

10/08/12 14:23:46 changed by rjollos

  • description changed.

Add/Change #7607 (Fix exception in TicketLinks.__repr__)




Change Properties
Action