4741: Negative number of open issues


What version are you running?


What's the URL of the page containing the problem?


What steps will reproduce the problem?

Exact steps unknown, problem has appeared after lots of issues being created and resolved

What is the expected output? What do you see instead?

0 open issues. API returns -1 open issues.

What operating system are you using? What browser?

Firefox on Ubuntu 18.04

Please provide any additional information below.

Issue summary table shows correct open issues count, problem emerges when trying to fetch open issue count from API. API fetches issue count directly from DB, issue summary table doesn't, maybe there is a problem with CounterField class?

#1 mykhailo.bloshko

What's the status with this bug? Fix is really necessary.

#2 david

Many of the bugs that can cause this have been fixed if you're running the latest release, but it's possible there are still lingering ones. You can temporarily fix the display by running rb-site manage /path/to/site reset-issue-counts <review-request-id> (or use --all to reset for all review requests, which may take a while). If you can come up with a specific reproduction case, we can investigate, but without knowing what steps caused the bugs it's very difficult to track these down.

  • -New
#3 cyran.norbert

Thank you for workaround, we'll check if problem persists in 3.0.10.

We can't come up with reproduction case, as I said, it seems to happen randomly, and to this day, it has happened twice