id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 13297,Failure when non-numeric Ticket ID appears in Trac report,tractest@…,Ryan J Ollos,"Our Trac reports contain 0 or even non-numeric value in the column which contains Ticket ID. Such rows are either removed from the report or cause an error which is not correct as these values are on rows representing totals etc. Following fix in sensitivetickets.py works for me: {{{ if resource and resource.realm == 'ticket' and resource.id is not None: bypass = False try: ticket_id = int(resource.id) if ticket_id == 0: sensitive = 0 else: ticket = Ticket(self.env, ticket_id) sensitive = ticket['sensitive'] if as_bool(sensitive): bypass = self.bypass_sensitive_view(ticket, username) except ResourceNotFound: sensitive = 1 # Fail safe to prevent a race condition. except ValueError: sensitive = 0 # Fail safe to allow non-numeric resource.id. }}} Of course, we could discuss whether the non-numeric value in Ticket ID column is correct or not. It is not systematic for sure but SQLite allows it w/o problems.",defect,closed,normal,SensitiveTicketsPlugin,normal,fixed,,,1.0