Fix extra increments/decrements in the issue table after reloading.

Review Request #9342 — Created Oct. 31, 2017 and submitted

Information

Review Board
release-3.0.x
653efd7...

Reviewers

When reloading the issue summary table from the server after a watched
status update finished, resolving an issue would cause the counter on
the tab to decrement twice. If the table had reloaded a third time, the
count would be decremented a third time.

This was due to an event handler being registered every time the view
was reloaded, causing the issue status change handler to be called too
many times. Old event handlers are now unregistered when rendering the
view to ensure this doesn't happen.

Triggered re-renders of the Issue Summary Table and resolved issues to
reproduce the bug. After the fix, the counts were correct.

Description From Last Updated

In your description, "The Issue Summary table" should probably all be lower case.

daviddavid
david
  1. 
      
  2. Show all issues

    In your description, "The Issue Summary table" should probably all be lower case.

  3. 
      
chipx86
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (eca7c7e)
Loading...