#2368 Fix ticket numbers on milestone counts to use mongo counts

v1.0.0
closed
sf-2 (994)
General
nobody
2015-08-20
2011-06-24
Mark Ramm
No

Currently they use cached values derived from solr. The cache is still fine, but should use mongo count not solr. This ticket should also include a review of the cache invalidation logic.

Related

Tickets: #2087
Tickets: #2376

Discussion

  • Kyle Adams - 2011-06-28

    See also: [#2087], [#2376]

     

    Related

    Tickets: #2087
    Tickets: #2376

  • Dave Brondsema

    Dave Brondsema - 2011-06-29
    • size: --> 2
     
  • Anonymous - 2011-07-06

    Originally by: algorithms

    • status: open --> in-progress
    • assigned_to: Wayne Witzel III
     
  • Anonymous - 2011-07-13

    Originally by: algorithms

    • status: in-progress --> code-review
    • assigned_to: Wayne Witzel III --> John Hoffmann ☠
     
  • Anonymous - 2011-07-13

    Originally by: algorithms

    Branch ww/2368 is where the code changes are located. A review of the cache invalidation logic was performed and it was deemed to be sane.

    TESTING

    • Open a project
      -- Add the Tracker to the project.
      -- Create a ticket under a milestone, ensure count in sidebar is correct.
      -- Create another ticket under a milestone, ensure count in sidebar is correct.

    [wwitzel] nosetests -xv forgetracker.tests.functional.test_root.TestFunctionalController.test_milestonecount

    forgetracker.tests.functional.test_root.TestFunctionalController.test_milestone_count ...

    Ran 1 test in 7.547s

    OK

     
  • John Hoffman - 2011-07-18
    • status: code-review --> closed
     
  • John Hoffman - 2011-07-18

    Looked good, merged to dev.

     

Log in to post a comment.