Ticket #7945 (closed defect: worksforme)

Opened 3 years ago

Last modified 8 months ago

Bad ticket number in 'blocks' or 'blocked by' prevents viewing of ticket.

Reported by: anonymous Assigned to: rjollos
Priority: low Component: MasterTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (Last modified by rjollos)

While noodling around with TracXMLRPC, I discovered that if ticket X has populated fields 'blocks' and/or 'blocked by', and the tickets referred to in those fields doesn't exist, then when I attempt to view ticket X, trac reports

  Error: Invalid ticket number

  Ticket 93 does not exist.

Where 93, in this case, was in the blocks field. Ticket X is now completely unavailable, even to TRAC_ADMIN, unless you poke around in the db and remove the offending ticket numbers.

Would it be a better idea if MasterTickets reported that the referred tickets are invalid - perhaps by unWiki'ing the ticket numbers, or striking them through - but allow you to view or edit ticket X?

Attachments

Change History

10/08/12 14:04:29 changed by rjollos

  • description changed.

10/08/12 14:04:43 changed by rjollos

  • owner changed from coderanger to rjollos.
  • status changed from new to assigned.
  • description changed.

10/08/12 22:31:43 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to worksforme.

This is protected against in the latest revision of the plugin. Please try again with the latest revision of the source and report back if you have any issues.


Add/Change #7945 (Bad ticket number in 'blocks' or 'blocked by' prevents viewing of ticket.)




Change Properties
Action