stable

Clone or download

Read-only

feat: Check @project = 'aggregated'

Part of story #39330 Choose on which tracker I perform my query It check that we are in a project with Program service enabled This condition is not yet usable as the SQL builder still throw if you use it *Testing:* - Personal dashboard -> error telling it must be used in a project dashboard - 'Normal' project dashboard -> error telling it must be used in a project with Program service enabled - Top program project -> error 500 not yet implemented - Sub program project -> error 500 not yet implemented Change-Id: I9248001518b522b7796a364791cf399b51c80ce1

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +11 −7 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/AllowedFrom.php +2 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/FromBuilder/FromProjectBuilderVisitor.php +4 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromCollectionBuilder.php +5 −4 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromCollectionParameters.php +2 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromProjectCollectorParameters.php +2 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidFromProjectCollectorVisitor.php +32 −3 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/ReportTrackersRetriever.php +13 −1 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +15 −9 Go to diff View file
M plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po +13 −0 Go to diff View file
M plugins/crosstracker/site-content/pt_BR/LC_MESSAGES/tuleap-crosstracker.po +9 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +13 −8 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/InvalidFromCollectionBuilderTest.php +54 −4 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/ExpertQueryValidator.php +5 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/IBuildInvalidFromCollection.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFromCollectionBuilder.php +2 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Report/Query/Advanced/InvalidFromCollectionBuilderTest.php +5 −1 Go to diff View file