stable

Clone or download

Read-only

refactor: Use a dedicated FieldType business object

How to test: Enable the feature flag: tuleap config-set feature_flag_cross_tracker_search_duck_typed_fields 1 No functional change expected in duck-typing of fields. part of story #10710 search on fields with duck typing Change-Id: I5d2faa22035d3f9539581ed7e66970589cfad526

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSearchableCollectorVisitor.php +15 −7 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Field/DuckTypedFieldType.php +50 −0 Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Field/FieldTypeIsNotSupportedException.php Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Field/FieldTypesAreIncompatibleException.php Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Field/FieldUsageChecker.php +19 −17 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Field/SearchFieldTypes.php +5 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Field/TrackerFieldDao.php +6 −6 Go to diff View file
M plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po +0 −4 Go to diff View file
M plugins/crosstracker/site-content/pt_BR/LC_MESSAGES/tuleap-crosstracker.po +0 −4 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/QueryValidation/Field/TrackerFieldDaoTest.php +4 −4 Go to diff View file
A plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/QueryValidation/Field/DuckTypedFieldTypeTest.php +76 −0 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/QueryValidation/Field/FieldUsageCheckerTest.php +34 −22 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Tests/Stub/SearchFieldTypesStub.php +5 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.php +25 −24 Go to diff View file