Gitea: Pull requests for project show -1

Created on 11 Jul 2019  路  2Comments  路  Source: go-gitea/gitea

  • Gitea version (or commit ref): 072bdfa (1.10.0+dev-31-g072bdfa3f)
  • Operating system: docker container
  • Database (use [x]):

    • [ ] PostgreSQL

    • [x] 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

kinbug

Most helpful comment

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.

All 2 comments

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.

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.

Was this page helpful?
0 / 5 - 0 ratings