stable

Clone or download

Read-only

Refactor the lowercase comparison of values

This is a part of story #8860: TQL for select box To test: No functional change, you should still be able to compare list fields with values regardless of case, e.g. - radio_button = 'ALPHA' should match 'Alpha' - assigned_to = 'jMasson' should match 'jmasson' Change-Id: I10fd013b70b0d07624018c933ba05032ced95acf

Modified Files

Name
A plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindParameters.php +44 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindVisitable.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindVisitor.class.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Null.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Static.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Ugroups.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Users.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/EqualComparisonVisitor.php +16 −15 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/InComparisonVisitor.php +8 −7 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/BindValueNormalizer.php +29 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/CollectionOfNormalizedBindLabelsExtractor.php +88 −0 Go to diff View file
D plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListFieldBindStaticChecker.php +0 −63 Go to diff View file
D plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListFieldBindUgroupsChecker.php +0 −56 Go to diff View file
D plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListFieldBindUsersChecker.php +0 −58 Go to diff View file
D plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListFieldBindVisitor.php +0 −76 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListFieldChecker.php +21 −13 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/NotEqualComparisonVisitor.php +13 −13 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/NotInComparisonVisitor.php +8 −5 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/QueryBuilder/ListFieldBindVisitor.php +6 −5 Go to diff View file
M plugins/tracker/include/autoload.php +5 −6 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/InvalidFields/ListFieldCheckerTest.php +19 −13 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_List_BindTest.php +2 −1 Go to diff View file