stable

Clone or download

Read-only

feat: Check @tracker.name

Part of story #39330 Choose on which tracker I perform my query @tracker.name = 'some' and @tracker.name IN(...) are not checked *Testing:* Empty values should raise an error Change-Id: Icfff453a06a1ed0361c8e195595acd161ee82277

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +10 −8 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CrossTrackerArtifactReportFactory.php +11 −9 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromCollectionBuilder.php +3 −3 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromCollectionParameters.php +1 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromProjectCollectorVisitor.php +2 −5 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromTrackerCollectorParameters.php +2 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromTrackerCollectorVisitor.php +30 −5 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/WidgetInProjectChecker.php +38 −0 Go to diff View file
M plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po +10 −0 Go to diff View file
M plugins/crosstracker/site-content/pt_BR/LC_MESSAGES/tuleap-crosstracker.po +8 −0 Go to diff View file
M plugins/crosstracker/tests/rest/CrossTracker/CrossTrackerTest.php +1 −1 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/InvalidFromCollectionBuilderTest.php +38 −7 Go to diff View file