stable
Clone or download
Read-only
request #13374: REST API GET /artifacts/{id}/linked_artifacts does not return the representation of the linked artifacts
The REST route returns a collection of representations of the current artifact instead of the representation of the artifacts linked to the current artifact. Issue has been introduced by a2b4ad31c586e22b9feae7bf5ac86fc80fddb1e5. Change-Id: I32610d207740fecd54b4b9c71b4a1763a6ce7cdd
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/REST/v1/ArtifactsResource.class.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactLinkInfo.class.php | +1 | −5 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/CustomColumn/ValueFormatter.php | +1 | −5 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php | +3 | −1 | Go to diff View file |
A | plugins/tracker/tests/rest/Artifacts/LinkedArtifactsTest.php | +90 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/_fixtures/LinkedArtifacts/project.xml | +70 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/_fixtures/LinkedArtifacts/user_map.csv | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/_fixtures/LinkedArtifacts/users.xml | +10 | −0 | Go to diff View file |