stable

Clone or download

Read-only

Extract Ugroups-bound Selectbox values in CSV with duck typing

Part of story #12523 Export single-value list fields to CSV How to test: - Export CSV from a cross-tracker widget with a saved and non-empty report. - When there is a field in at least two trackers with the same shortname and the same Selectbox type, it will be exported. - Trackers without this field will have an empty value for this column. - Ugroups-bound list fields with "None" selected will have an empty value. Change-Id: If0aaefe4da3f29fbd4f99c98e2d224e5784696df

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/CSV/Format/BindToValueVisitor.php +38 −21 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/CSV/Format/BindValueIsEmptyException.php +25 −0 Go to diff View file
M plugins/crosstracker/phpunit/CrossTracker/Report/CSV/Format/BindToValueVisitorTest.php +52 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Ugroups.class.php +4 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Users.class.php +2 −2 Go to diff View file