#1810 Fix ticket #1788 error -- NEEDS SCRIPT

v1.0.0
closed
sf-2 (994)
General
nobody
2015-08-20
2011-03-24
No
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'

Related

Tickets: #1951

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-03-24
    • size: --> 2
     
  • Rick Copeland - 2011-04-04
    • status: open --> in-progress
    • assigned_to: Rick Copéland
     
  • Rick Copeland - 2011-04-04

    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):

    allurapaste script /var/local/config/production.ini compact-tickets.py test
    allurapaste script /var/local/config/production.ini compact-tickets.py
    

    Verify that the ticket #s have been compacted

    • status: in-progress --> code-review
    • assigned_to: Rick Copéland --> Dave Brondsema
     
  • Rick Copeland - 2011-04-04

    on rc/guano-tickets

     
  • Dave Brondsema

    Dave Brondsema - 2011-04-04
    • status: code-review --> closed

    • summary: Fix ticket #1788 error --> Fix ticket #1788 error -- NEEDS SCRIPT

     

Log in to post a comment.