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

[BUG] Error 500 when creating a new issue #27432

Closed
jiriks74 opened this issue Oct 4, 2023 · 3 comments · Fixed by #27434
Closed

[BUG] Error 500 when creating a new issue #27432

jiriks74 opened this issue Oct 4, 2023 · 3 comments · Fixed by #27434
Labels

Comments

@jiriks74
Copy link

jiriks74 commented Oct 4, 2023

Description

When creating a new issue on my Gitea instance for my astronvim_config repository I get Error 500 related to issue forms even though they are not used by this repository. There was a .github directory with issue templates accidentally uploaded as I was copying workflows from another repository but the issue templates were deleted and the .github directory was renamed to .gitea.

Gitea Version

1.22.0+dev-98-ge94f9fcaf (docker image: nightly)

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/jiriks74/dd104f92600c10b7bf9b103501ee35fc

Screenshots

image

Git Version

No response

Operating System

Docker on Raspberry Pi OS

How are you running Gitea?

I use the official gitea/gitea:nightly Docker image

Database

MySQL/MariaDB

@jiriks74
Copy link
Author

jiriks74 commented Oct 4, 2023

Redirecting after issue creation is also broken:
image

@jiriks74
Copy link
Author

jiriks74 commented Oct 4, 2023

Still happens after adding issue templates to the repository:

image

image

@CaiCandong
Copy link
Member

CaiCandong commented Oct 4, 2023

Missing a ctx args, I will fix it
Regression of #27265

6543 pushed a commit that referenced this issue Oct 4, 2023
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue Oct 4, 2023
silverwind pushed a commit that referenced this issue Oct 4, 2023
Backport #27434 by @CaiCandong

Fix  #27432
Regression of #27265

Co-authored-by: CaiCandong <50507092+CaiCandong@users.noreply.github.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2023
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.

2 participants