stable

Clone or download

Read-only

feat: Allow openlist for XTS

Part of story #10710 search on fields with duck typing In order to build queries for open lists, we firts need to allow XTS to search on open lists *Testing:* If you perform a XTS on an open list, it should not raise any error, but just return no results Change-Id: Ied37d2b48a381b94c1159c178cfb87e96104b9c4

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +16 −3 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +16 −3 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +16 −3 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/InvalidTermCollectorVisitorTest.php +53 −3 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/QueryValidation/DuckTypedField/DuckTypedFieldCheckerTest.php +16 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/FlatInvalidFieldChecker.php +12 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/CollectionOfNormalizedBindLabelsExtractor.php +4 −16 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/CollectionOfNormalizedBindLabelsExtractorForOpenList.php +84 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ExtractCollectionOfNormalizedLabels.php +30 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ListFieldChecker.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +16 −4 Go to diff View file
M plugins/tracker/tests/unit/Builders/Fields/OpenListFieldBuilder.php +27 −13 Go to diff View file
A plugins/tracker/tests/unit/Stub/Tracker/FormElement/Field/ListFields/Bind/BindVisitorStub.php +63 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Report/Query/Advanced/InvalidFields/ListFields/CollectionOfNormalizedBindLabelsExtractorForOpenListTest.php +92 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Report/Query/Advanced/InvalidTermCollectorVisitorTest.php +16 −3 Go to diff View file