Fix extra increments/decrements in the issue table after reloading.
Review Request #9342 — Created Oct. 31, 2017 and submitted
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. |
david |
- Description:
-
~ When reloading The Issue Summary Table from the server after a watched
~ 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.