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

Closed
opened 2025-11-02 09:47:33 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @jiriks74 on GitHub (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

Originally created by @jiriks74 on GitHub (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](https://github.com/go-gitea/gitea/assets/54378412/c4ee6b23-9034-442c-aea7-27ec377b1d94) ### 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
GiteaMirror added the type/bug label 2025-11-02 09:47:33 -06:00
Author
Owner

@jiriks74 commented on GitHub (Oct 4, 2023):

Redirecting after issue creation is also broken:
image

@jiriks74 commented on GitHub (Oct 4, 2023): Redirecting after issue creation is also broken: ![image](https://github.com/go-gitea/gitea/assets/54378412/bbb254d8-580f-4a4f-aee8-9df1cb3dc9a7)
Author
Owner

@jiriks74 commented on GitHub (Oct 4, 2023):

Still happens after adding issue templates to the repository:

image

image

@jiriks74 commented on GitHub (Oct 4, 2023): Still happens after adding issue templates to the repository: ![image](https://github.com/go-gitea/gitea/assets/54378412/bdbe557d-a2cb-49f5-9289-3a641fcd3675) ![image](https://github.com/go-gitea/gitea/assets/54378412/a4a33b9c-305b-4945-a0be-8b947e301432)
Author
Owner

@CaiCandong commented on GitHub (Oct 4, 2023):

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

@CaiCandong commented on GitHub (Oct 4, 2023): Missing a `ctx` args, I will fix it Regression of #27265
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11781