stable
Clone or download
Read-only
/artifact/:id Part of story #24970 [modal] select type for links The condition which prevent the update of reverse links was removed too early (since d209020bcbdeb907827a043e7247d43e70fc1c12). The artifact modal still uses the `links` key when it calls PUT /artifact/:id, this key is filled only with forward links, the consequence is all reverse links are deleted. How to test: - Make sure to have reverse link on your artifact - Open the artifact edition modal (e.g in the planning v2 / TTM) - Edit the artifact links if you want and then click on `Saves changes` => The updated artifact is still linked to its parents/reverse artifact Change-Id: I9ab90868d88140d86925372976cdf94ab0da9d49
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/REST/Artifact/PUTHandler.php | +11 | −1 | Go to diff View file |
M | plugins/tracker/tests/unit/REST/Artifact/PUTHandlerTest.php | +25 | −0 | Go to diff View file |