stable

Clone or download

Read-only

Deal with = for submitted_by

Part of story #10703 define a query with "people" fields How to test: - @submitted_by = 'jmasson' will yield all artifacts submitted by user with username 'jmasson' - username should be case-insensitive - @submitted_by = 'toto' when 'toto' is not an existing username will show an error - @submitted_by = '' will yield no results (same behaviour as tracker-TQL) - @submitted_by != anything will yield no results (next commits) Change-Id: I2122793ce0bddd777067f843b45175ae86be5fe8

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +22 −12 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/Users/EqualComparisonFromWhereBuilder.php +38 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/AlwaysThereField/Users/NotEqualComparisonFromWhereBuilder.php +41 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/Metadata/ListValueExtractor.php +79 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/ComparisonChecker.php +19 −4 Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/DateToEmptyStringComparisonException.php Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/GreaterOrLesserThanComparisonChecker.php +2 −2 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/ListToEmptyStringException.php +25 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/ListValueToEmptyStringComparisonException.php +37 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/ListValueValidator.php +51 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/NonExistentListValueException.php +42 −0 Go to diff View file
R plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Comparison/DateToStringComparisonException.php Go to diff View file
M plugins/crosstracker/include/autoload.php +10 −4 Go to diff View file