-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
Description
Description
The position of 500 error might be incorrect if an error occurs inside a nested template. In the example below, the error occurs in line 694 of comments.tmpl
, and this 500 error page was nested around this place where the error occurs.
default.mov
Steps to reproduce:
- Create a team under an organization with the following settings
- Open a pull request and assign the team as the reviewer.
- Delete this team.
- Go back to the pull request where this team was formerly assigned.
And the following JS error occurs because when the 500 error page is nested, there will be two head_script.tmpl
with webcomponents.js
imported twice. This error will be fixed if 500 page is not nested.
Gitea Version
latest
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?
On macOS:
TAGS="bindata sqlite sqlite_unlock_notify" make build
./gitea
Database
None