Incoming group count is not update after updating the review request with new values for Groups and People.

Review Request #2203 — Created March 16, 2011 and submitted


Review Board


What steps will reproduce the problem?
1. Create a review request and assign it to user (People) say User1
2. Update the review request and change the People value say User2
3. Login as User2.

What is the expected output? What do you see instead?
To-me count in the dashboard should be incremented, which is not happening.

The same condition applies to the Groups field too, where the Incoming Reviews count is not updated. Though the decrement on the count for the other user/group happens good.
Manual Verification done.
  1. Looks good. Pushed to master as 3aeb082. Thanks!
    1. Actually, this breaks the unit tests. I think we need a more complex solution (the code isn't currently designed to deal with updates after the first publish).
    2. Ah!! My bad, I should have run the test. let me check the issue.
Review request changed

Change Summary:

* Fixed the patch

* Executed the test cases


Revision 2 (+29 -31)

Show changes

  1. Looks good now. Thanks for the update!