stable

Clone or download

Read-only

Enhance error message for unsupported comparisons

This is a part of story #8859 TQL search on date & numeric fields How to test this: Try to use <= on string or text fields. The error message should be "The field '<field>' does not support this operator" Change-Id: I39527ffccc4f0fbe26ef64daa0aa53f81f903186

Modified Files

Name
M plugins/tracker/include/REST/v1/TrackersResource.class.php +3 −3 Go to diff View file
R plugins/tracker/include/Tracker/Report/Query/Advanced/FieldsAreNotSupportedException.php Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFieldsCollection.php +12 −9 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFieldsCollectorVisitor.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +14 −9 Go to diff View file
M plugins/tracker/include/autoload.php +3 −3 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +18 −7 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +4 −4 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/InvalidFieldsCollectorVisitorTest.php +11 −11 Go to diff View file