stable

Clone or download

Read-only

Check if value exists in list before building query

This is a part of story #8860 TQL for select box To test: If you search on field list with a non existent value you should have an error. Change-Id: I59230443148ee57a963a68a1da4dcfdfbb96cb22

Modified Files

Name
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/CollectionOfListValuesExtractor.php +0 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/EqualComparisonVisitor.php +4 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListFieldChecker.php +18 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListValueDoNotExistComparisonException.php +36 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/NotEqualComparisonVisitor.php +4 −1 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +4 −0 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +4 −0 Go to diff View file
A plugins/tracker/tests/Tracker/Report/Query/Advanced/InvalidFields/ListFieldCheckerTest.php +90 −0 Go to diff View file