Issue count doesn't update for project members
Summary
Issue counts don't seem to update for project members.
Cannot reproduce this on my self-hosted instance running 10.8.3-ee 3e7879a
Steps to reproduce
- Create a new project as
User A
- Set the visibility to Public
- Create an issue
- Observe that issue count stays at 0.
- As another logged in user (
User B
), browse to the project and observe the issue count is 1. - Create a new issue as the project owner (
User A
), observe the count does not update. Refresh asUser B
, note it does. - As
User A
inviteUser B
to the project - As
User B
refresh, observe the issue count drops to 0.
Example Project
https://gitlab.com/lyle/issue-test/issues
What is the current bug behavior?
Issue counts don't update for project members. If you invite a user to the project, their issue counts break.
What is the expected correct behavior?
All users should see correct issue counts (with exceptions for caching and confidential issues)
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com 11.0.0-rc5-ee 9eb4615