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

api: edit issue state reports wrong error #34091

Open
kim2048 opened this issue Apr 1, 2025 · 2 comments
Open

api: edit issue state reports wrong error #34091

kim2048 opened this issue Apr 1, 2025 · 2 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail type/bug

Comments

@kim2048
Copy link

kim2048 commented Apr 1, 2025

Description

When I set the issue state to open on an already open issue with /repos/{owner}/{repo}/issues/{index}, I get the result message "Issue [xxx] 0 was already closed".

Btw, is this a new behavior? AFAIR it was fine to set the same state without getting a 500 error from the server.

Gitea Version

1.22.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

I don't know

Database

None

@lunny
Copy link
Member

lunny commented Apr 1, 2025

Could you upgrade to v1.23.6 and try that again?

@kim2048
Copy link
Author

kim2048 commented Apr 2, 2025

I see, might be fixed in #31880. Sorry, didn't saw this. I will inform my sysadmin ;)

@lunny lunny added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail type/bug
Projects
None yet
Development

No branches or pull requests

2 participants