warehouse icon indicating copy to clipboard operation
warehouse copied to clipboard

Broken organization request counter? It's showing a number inconsistent with the rendered list

Open webknjaz opened this issue 1 year ago • 0 comments

Describe the bug

On https://pypi.org/manage/organizations/, I see "Your organizations 3" with the correct counter and 3 organizations listed in that section. However, the following section is titled "Pending organization requests 3" and it only lists 1 request despite the counter saying it's 3.

Expected behavior

The counter should correspond to the number of requests actually listed.

To Reproduce

:man_shrugging:

My Platform

N/A

Additional context

I thought that maybe the counters are rendered from the same variable but I checked the template and it's coming from different vars.

I think I had more organization requests in the past (like CherryPy) that were rejected asking the project owner (with the same name) to resubmit them. So they disappeared from my interface (I think I only have some email traces in the inbox). Perhaps, they contribute the that counter somehow. That would explain it, if the counter adds the rejected/discarded/revoked requests to the overall counter value...

webknjaz avatar Mar 31 '24 15:03 webknjaz