stable

Clone or download

Read-only

Deal with IN() for submitted_by

Part of story #10703 define a query with "people" fields How to test: - @submitted_by IN ('jmasson', 'tgorka') should return artifacts submitted by 'jmasson' or 'tgorka' - The empty string is forbidden with IN() operator - An unknown username in the list of IN() values will show an error Change-Id: I6f3c9973d6049191284f20f7df3181c1eacf63b0

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +13 −4 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/Users/EqualComparisonFromWhereBuilder.php +2 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/Users/InComparisonFromWhereBuilder.php +85 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/Users/NotEqualComparisonFromWhereBuilder.php +2 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/InComparisonFromWhereBuilder.php +53 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/ListValueExtractor.php +12 −3 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilderVisitor.php +37 −15 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/ComparisonChecker.php +1 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/In/InComparisonChecker.php +4 −2 Go to diff View file
M plugins/crosstracker/include/autoload.php +4 −2 Go to diff View file