Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull requests for project show -1 #7428

Closed
1 of 7 tasks
bkraul opened this issue Jul 11, 2019 · 2 comments · Fixed by #7518
Closed
1 of 7 tasks

Pull requests for project show -1 #7428

bkraul opened this issue Jul 11, 2019 · 2 comments · Fixed by #7518
Labels

Comments

@bkraul
Copy link

bkraul commented Jul 11, 2019

  • Gitea version (or commit ref): 072bdfa (1.10.0+dev-31-g072bdfa3f)
  • Operating system: docker container
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

For some reason, a project with a recently merged PR (there are no more outstanding PRs) is showing a -1 in its count badge.

Screenshots

image

@lunny lunny added the type/bug label Jul 12, 2019
@Cliff2103
Copy link

We have found the same issue here, our count is on -2, we've found out that 2 of our PR were closed twice, which should not even be possible. So it looks like a bug on closing PRs.

@bkraul
Copy link
Author

bkraul commented Jul 17, 2019

You are correct. I just merged a PR on another project and I can see the PR is closed twice, even though the merge operation only happened once:

image

I suspect this was recently introduced.

This was referenced Jul 30, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants