-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Bug: Api: ListPullRequests [500] #10639
Comments
current version of gitea.com: 1.12.0+dev-435-g6a57364dc |
I can narrow the bug conditions: This only occurs when the repo has a (closed?) PR, whose head branch has been deleted. Can reproduce on current try.gitea.io and on gitea.com |
Maybe #10618 is related? |
@guillep2k that code doesn't run on the API - but perhaps a similar fix is needed for API. @noerw are you able to give us a minimal testcase to reproduce? |
OK |
Replicated
and
|
curl -X GET "https://gitea.com/api/v1/repos/gitea/tea/pulls?state=closed&milestone=538&page=1" -H "accept: application/json"
since no trace or debug info is shown and I cant reproduce on my test instance I cant veryfy or determine the reason :/
The text was updated successfully, but these errors were encountered: