stable

Clone or download

Read-only

When invalid date format, error msg says empty value

This is a part of story #8859 TQL search on date & numeric fields To test: For example: - start_date = "abc" should return an error with the string abc in message. Change-Id: I117f3b92ee700226e944d0914fa3e29fd3d7767e

Modified Files

Name
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/DateFieldBetweenValueChecker.php +7 −11 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/DateFieldChecker.php +6 −11 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/DateTimeFieldBetweenValueChecker.php +11 −17 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/DateTimeFieldChecker.php +10 −17 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/InvalidFields/DateFieldCheckerTest.php +2 −0 Go to diff View file