stable

Clone or download

Read-only

Export duck-typed date fields

Part of story #12345 export results 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 date type, it will be exported. - Trackers without this field will have an empty string "" for this column. Change-Id: I15049975bd37176d47d41c5d4d4a0a84f86281b4

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/CSV/CSVRepresentationBuilder.php +9 −18 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CSV/Format/CSVFormatterVisitor.php +5 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CSV/Format/DateValue.php +3 −9 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CSV/Format/FormElementToValueVisitor.php +15 −5 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CSV/Format/NumericValue.php +8 −5 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CSV/Format/TextValue.php +8 −8 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CSV/Format/UserValue.php +8 −8 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CSV/Format/ValueVisitable.php +0 −2 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CSV/SimilarFieldsFormatter.php +3 −7 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/SimilarField/SupportedFieldsDao.php +1 −1 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.class.php +1 −1 Go to diff View file
M plugins/crosstracker/phpunit/CrossTracker/Report/CSV/Format/CSVFormatterVisitorTest.php +14 −10 Go to diff View file
M plugins/crosstracker/phpunit/CrossTracker/Report/CSV/SimilarFieldsFormatterTest.php +17 −9 Go to diff View file