Closed
Description
Description
To reproduce in web UI:
- create a repo and check "Mark repository as template"
- create another repo using the template in step 1. In "Template Items", check "Issue Labels" checkmark.
What I expected: step 2 creates a new, empty repo
What happened: status code 500, web/repo/repo.go:195:handleCreateError() [E] CreatePost: no element on slice when insert
.
Gitea Version
1.18.0+dev-209-g7a31292c2 built with GNU Make 4.3, go1.18 : bindata, sqlite, sqlite_unlock_notify
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
No response