stable
Clone or download
Read-only
Part of story #38263 Choose my own columns based on field name (numeric, text, dates) SELECT a, a WHERE ... is not allowed in epic AC, this commit align validator behavior. *Testing:* - SELECT a, a WHERE ... should display an error message - SELECT a, b WHERE ... should be fine Change-Id: Ic9301ba7af03c717e0c22a57b89b4a961e3da99a
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +2 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/CSV/CSVExportController.php | +2 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSelectablesCollectionBuilder.php | +9 | −0 | Go to diff View file |
A | plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/InvalidSelectablesCollectionBuilderTest.php | +118 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/TrackersResource.class.php | +2 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/Report/Query/Advanced/SelectablesMustBeUniqueException.php | +41 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Tracker_Report.class.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po | +4 | −1 | Go to diff View file |
M | plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po | +3 | −0 | Go to diff View file |