Opened 6 years ago

Closed 4 years ago

#7945 closed defect (worksforme)

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

Reported by: anonymous Owned by: 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 (0)

Change History (3)

comment:1 Changed 4 years ago by rjollos

  • Description modified (diff)

comment:2 Changed 4 years ago by rjollos

  • Description modified (diff)
  • Owner changed from coderanger to rjollos
  • Status changed from new to assigned

comment:3 Changed 4 years ago by rjollos

  • Resolution set to worksforme
  • Status changed from assigned to closed

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 Comment

Modify Ticket

as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.