Description
- Gitea version (or commit ref):
- Git version: 1.12.0+dev-264-ga104864da
- Operating system: Windows
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
I'am currently in the process of migrating Trac issues to a new Gitea instance. For this reason I am currently working on a php script which reads issues from the Trac database and creates them over the Gitea API on the new gitea instance.
To create the issue in the name of the orginal author I use the "sudo" header with the user which created the issue in Trac (with a mapping table).
When I try to create an Issue with a user which is not an administrator I get a 201 http back and the issue gets created. BUT linked labels or milestones are not createt for the issue. However if the user is an administrator no such error occures and the issue gets created with all linked labels and milestones.
I would have expected, that the api returns a 400 http header or something similar if not all data could be processed. Is this an intended behaviour?