-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Repo generated from template fails when template has no webhooks #20641
Comments
gabriel-vasile
added a commit
to gabriel-vasile/gitea
that referenced
this issue
Aug 2, 2022
xorm.db.Insert errors for empty slices. Fixes: go-gitea#20641
techknowlogick
pushed a commit
that referenced
this issue
Aug 4, 2022
xorm.db.Insert errors for empty slices. Fixes: #20641 Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
vsysoev
pushed a commit
to IntegraSDL/gitea
that referenced
this issue
Aug 10, 2022
xorm.db.Insert errors for empty slices. Fixes: go-gitea#20641 Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Wait for backport |
lunny
added a commit
to lunny/gitea
that referenced
this issue
Aug 12, 2022
xorm.db.Insert errors for empty slices. Fixes: go-gitea#20641 Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
lafriks
added a commit
that referenced
this issue
Aug 12, 2022
Fixed by #20768 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
To reproduce in web UI:
What I expected: step 2 creates a new, empty repo
What happened:
web/repo/repo.go:195:handleCreateError() [E] CreatePost: no element on slice when insert
. Pretty cryptic error I would say. grepping project returns no result.Gitea Version
head main
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
./gitea web
Database
SQLite
The text was updated successfully, but these errors were encountered: