stable

Clone or download

Read-only

Refactoring: inject DateFormatValidator

This is part of story #10704 define a query with date fields Now all dates (@submitted_on and @last_update_date) cannot be searched against ''. @submitted_on = '' was returning empty result, @submitted_on != '' was returning all artifacts. Since those queries was not bringing any value, now an error is displayed. Change-Id: Ic87ad3648d22747851635517c5c483c109bc5394

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +12 −7 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/Between/BetweenComparisonChecker.php +1 −5 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/ComparisonChecker.php +11 −4 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/GreaterOrLesserThanComparisonChecker.php +1 −5 Go to diff View file