Modify

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: Ryan J Ollos
Priority: low Component: MasterTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

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 Ryan J Ollos

Description: modified (diff)

comment:2 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Noah Kantrowitz to Ryan J Ollos
Status: newassigned

comment:3 Changed 4 years ago by Ryan J Ollos

Resolution: worksforme
Status: assignedclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.