Closed Bug 1570013 Opened 5 years ago Closed 5 years ago

Needinfo counter stuck at -1

Categories

(bugzilla.mozilla.org :: Extensions, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: molly, Unassigned)

Details

Both the requests count in my page header and the count on my profile page show me as having -1 needinfo requests. The actual count is zero, as the requests page shows. Receiving and then answering a single request did not seem to change the count, and neither did logging out and back in or using a new Firefox profile.

Assignee: general → nobody
Component: Bugzilla-General → Extensions: Needinfo
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: unspecified → Production

The issue is usually solved once you get a new request, and there is actually code to fix negative counters. dkl: do you know the review_requests_rebuild.pl script is running normally (via cron, I guess)? I just tested it over my local database snapshot, and negative counts (2 users with -1, 1 user with -2 needinfos) were cleared properly.

Flags: needinfo?(dkl)

I do not think it is ran as a cron but I can check and maybe add it if possible. It can be ran manually at https://bugzilla.mozilla.org/page.cgi?id=review_requests_rebuild.html

Flags: needinfo?(dkl)

(In reply to Matt Howell (he/him) [:mhowell] from comment #0)

Both the requests count in my page header and the count on my profile page show me as having -1 needinfo requests. The actual count is zero, as the requests page shows. Receiving and then answering a single request did not seem to change the count, and neither did logging out and back in or using a new Firefox profile.

Please comment if this looks better now.

Flags: needinfo?(mhowell)

It does look better now, it's on positive 1. Let me clear this flag and see if it goes to zero properly.

Flags: needinfo?(mhowell)

(In reply to Matt Howell (he/him) [:mhowell] from comment #4)

It does look better now, it's on positive 1. Let me clear this flag and see if it goes to zero properly.

It did go to zero, so I'm calling this fixed. Thanks!

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Component: Extensions: Needinfo → Extensions
You need to log in before you can comment on or make changes to this bug.