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

Error 500 on PR renaming #30070

Closed
BastienVigneron opened this issue Mar 25, 2024 · 3 comments
Closed

Error 500 on PR renaming #30070

BastienVigneron opened this issue Mar 25, 2024 · 3 comments
Labels

Comments

@BastienVigneron
Copy link

Description

When I try to rename a PR (to remove the WIP:), I get an HTTP/500 errror.

The log produce the following:

2024/03/25 12:47:32 ...eb/routing/logger.go:102:func1() [I] router: completed GET /iam/iamv2/issues/117/content-history/overview?_csrf=Fvrje1qxFrfNnEsI7pgKjQvSFLg6MTcxMTM3MDc0MzgzMDEyNDkwOA for 10.16.0.64:0, 200 OK in 24.3ms @ repo/issue_content_history.go:24(repo.GetContentHistoryOverview)
2024/03/25 12:47:36 ...rs/web/repo/issue.go:2163:UpdateIssueTitle() [E] ChangeTitle: exit status 128 - fatal: ambiguous argument '': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
 - fatal: ambiguous argument '': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Gitea Version

1.21.9

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

The one provided in official docker image.

Operating System

Official docker image (gitea/gitea)

How are you running Gitea?

Via official docker image (gitea/gitea).

Database

PostgreSQL

@lunny
Copy link
Member

lunny commented Mar 25, 2024

This has been fixed by #30066 and will be released on v1.21.10

@wxiaoguang
Copy link
Contributor

Ref #29997

Sorry for the inconvenience.

  • It could be fixed by updating to pre-1.21.10:

@BastienVigneron
Copy link
Author

Thank for the reactivity !

@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jun 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants