stable

Clone or download

Read-only

request #14618 Don't search on null value in api REST get /tracker_reports/{id}/artifacts

Data result of this request can be false. How to test : - test on a tracker with lot of artifacts - add an integer field, keep it void - create a report with this field with no data - search on tracker view : you will have all the artifacts - search with the API rest : you will not have all the artifact (pagination-size) After this patch, the problem should be corrected Change-Id: I577dc72b7bc3d3c7d9b3f9f2f0f37b9d1650c011

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Float.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Integer.class.php +1 −1 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Tracker_FormElement_Field_FloatTest.php +11 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Tracker_FormElement_Field_IntegerTest.php +11 −0 Go to diff View file