Module forgetracker.tracker_main:817 in index << tool_subscribed=tool_subscribed, subscribed=subscribed, page=page, limit=limit, count=self.ticket.discussion_thread.post_count) else: raise exc.HTTPNotFound, 'Ticket #%s does not exist.' % self.ticket_num >> page=page, limit=limit, count=self.ticket.discussion_thread.post_count) AttributeError: 'NoneType' object has no attribute 'post_count'
This is happening with other tickets also:
The attached script needs to be run in prod. To QA: create some good tickets and some bad tickets in paster shell (bad tickets=no Summary). Run the following (this is also what SOG needs to do when fixing this problem):
Verify that the ticket #s have been compacted
on rc/guano-tickets
status: code-review --> closed
summary: Fix ticket #1788 error --> Fix ticket #1788 error -- NEEDS SCRIPT