-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
modifies/apiThis PR adds API routes or modifies themThis PR adds API routes or modifies themtype/bug
Milestone
Description
- Gitea version (or commit ref): 1.14.0+dev-454-g19ae6439b
- Git version: 2.29.2
- Operating system: fedora linux
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (probably, at least on gitea.com, see https://gitea.com/gitea/gitea.com/issues/21
- No
- Log gist: https://pastebin.com/eXZc273c
Description
Using the API to create a repo with a non-existent label-set makes gitea hang, and leaves a partially initialized repo.
On gitea.com the repo is partially created, and an empty error message is returned.
Testing locally with 9659808, Gitea hangs indefinitely instead of finishing the request.
Following requests give repository files already exist
.
To reproduce:
tea repo create --name foo --labels asdfasdf404
Metadata
Metadata
Assignees
Labels
modifies/apiThis PR adds API routes or modifies themThis PR adds API routes or modifies themtype/bug