stable

Clone or download

Read-only

Milestone creation is prevented when necessary whatever the way you create the artifact

Until now, the restrictions on the creation of a milestone where only applied in the frontend of the agiledashboard. The creation is now prevented, when necessary, whatever the way you use to create the artifact. Part of story #16125: [release management] create a new Aggregator Release Change-Id: Ib7860f1d0588d3bacc71f29ec434f6a226a4fea8

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Planning/RootPlanning/DisplayTopPlanningAppEvent.php +4 −3 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/CreationCheck/ArtifactCreatorChecker.php +62 −0 Go to diff View file
M plugins/multi_project_backlog/include/Aggregator/Milestone/CreationCheck/MilestoneCreatorChecker.php +2 −2 Go to diff View file
M plugins/multi_project_backlog/include/Aggregator/Milestone/MilestoneTrackerCollection.php +11 −3 Go to diff View file
M plugins/multi_project_backlog/include/Aggregator/Milestone/MilestoneTrackerCollectionBuilder.php +2 −2 Go to diff View file
M plugins/multi_project_backlog/include/multi_project_backlogPlugin.php +80 −24 Go to diff View file
A plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/CreationCheck/ArtifactCreatorCheckerTest.php +113 −0 Go to diff View file
M plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/CreationCheck/MilestoneCreatorCheckerTest.php +3 −1 Go to diff View file
M plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/CreationCheck/SemanticCheckerTest.php +7 −7 Go to diff View file
M plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/CreationCheck/StatusSemanticCheckerTest.php +7 −4 Go to diff View file
M plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/MilestoneTrackerCollectionTest.php +30 −18 Go to diff View file
M plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/SynchronizedFieldCollectionBuilderTest.php +9 −9 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/CanSubmitNewArtifact.php +74 −0 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +6 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/CanSubmitNewArtifactTest.php +46 −0 Go to diff View file