1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-01 07:08:36 +00:00

[Backport] [API] Allow only specific Colums to be updated on Issue (#9539) (#9580)

* Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539)

* dont insert "-1" in any case to issue.poster_id

* Make sure API cant override importand fields

* code format

* add Test for IssueEdit

* load milestone and return it on IssueEdit via API

* extend Test for TestAPIEditIssue

* fix TEST

* make sure Poster is loaded

* keep code format on backport as it is
This commit is contained in:
6543
2020-01-02 08:38:42 +01:00
committed by techknowlogick
parent cb3fe4cbf1
commit 17c691f8aa
7 changed files with 116 additions and 23 deletions

View File

@@ -21,3 +21,11 @@
content: content3
is_closed: true
num_issues: 0
-
id: 4
repo_id: 42
name: milestone of repo42
content: content random
is_closed: false
num_issues: 0