stable

Clone or download

Read-only

request #26812 REST Route: API GET trackers/{id}/artifacts return all artifact if wrong field in query

To test it, try to use the route using normal query with a non existing field. With the patch, you should have an error about non existing fields Change-Id: Ibf19ef3a857f2df50863cccf2e35d547eb6ad206

Modified Files

Name
M plugins/tracker/include/Tracker/Report/Tracker_Report_REST.class.php +18 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Report/TrackerReportRESTGetTest.php +19 −5 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Report/Tracker_Report_RESTTest.php +108 −41 Go to diff View file
M tests/rest/tests/TrackersTest.php +13 −0 Go to diff View file