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

Render failed, failed to render template: repo/settings/webhook/new #33511

Closed
maantje opened this issue Feb 5, 2025 · 2 comments
Closed

Render failed, failed to render template: repo/settings/webhook/new #33511

maantje opened this issue Feb 5, 2025 · 2 comments
Labels
Milestone

Comments

@maantje
Copy link
Contributor

maantje commented Feb 5, 2025

Description

@lunny After doing the upgrade to v1.23.2 the webhook add/update pages show an internal server error.

I assume it is related to #33442 but have not looked into it further yet.

500 Internal Server Error

An error occurred:

Render failed, failed to render template: repo/settings/webhook/new, error: template error: builtin(bindata):repo/settings/webhook/settings:116:55 : executing "repo/settings/webhook/settings" at <.Webhook.HookEvents.Get>: can't evaluate field Get in type webhook.HookEvents
----------------------------------------------------------------------
					<input name="status" type="checkbox" {{if .Webhook.HookEvents.Get "status"}}checked{{end}}>
					                                                  ^
----------------------------------------------------------------------

Gitea Version: 1.23.2

If you believe that this is a Gitea bug, please search for issues on [GitHub](https://github.com/go-gitea/gitea/issues) or open a new issue if necessary.

Gitea Version

1.23.2

Can you reproduce the bug on the Gitea demo site?

Not sure, site seems down at the moment.

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker gitea/gitea:1.23.2-rootless

Database

MySQL/MariaDB

@lunny lunny added this to the 1.23.3 milestone Feb 5, 2025
@lunny
Copy link
Member

lunny commented Feb 5, 2025

related to #33493

@lunny
Copy link
Member

lunny commented Feb 6, 2025

Fixed by #33512

@lunny lunny closed this as completed Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants