stable
Clone or download
part of request #39352 Program add to top backlog post-action should ignore Teams How to test: - Set up a Program project (A) that will serve as template. It should have no Team project linked to it. - Create a new B project from a project that you are admin of, and select A as template. Create the project. - In program_management_syslog, you should see a log line detailing the Plan configuration retrieved from database for the A template project. In later contributions, it will be modified by the mapping from the event, turned into a NewPlan for project B and saved to DB. Why? Instead of dealing only with arrays and primitives, we let the DAO return a full Domain object. In later contributions, we can modify its data (with the mapping) and create a new NewPlan for the new project to save. Change-Id: Ie5c11867c89c1653ab02c4384a0491ce87069c53
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/program_management/include/Adapter/Events/TrackersDuplicatedHandler.php | +78 | −0 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/Plan/PlanDao.php | +51 | −1 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/IterationTracker/IterationLabels.php | +5 | −0 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/IterationTracker/IterationTrackerIdentifier.php | +5 | −0 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/ProgramIncrementTracker/ProgramIncrementLabels.php | +10 | −8 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/ProgramIncrementTracker/ProgramIncrementTrackerIdentifier.php | +6 | −0 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Plan/NewPlan.php | +2 | −1 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Plan/PlanChange.php | +2 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Plan/PlanConfiguration.php | +88 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Plan/PlanInheritanceHandler.php | +38 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Plan/RetrievePlan.php | +30 | −0 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/ProgramIdentifier.php | +5 | −0 | Go to diff View file |
M | plugins/program_management/include/program_managementPlugin.php | +13 | −0 | Go to diff View file |
A | plugins/program_management/tests/integration/Adapter/Program/Plan/PlanDaoTest.php | +115 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Adapter/Events/TrackersDuplicatedHandlerTest.php | +102 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Domain/Program/Plan/PlanConfigurationTest.php | +72 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/ProgramIdentifierTest.php | +6 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Tests/Stub/Program/Plan/RetrievePlanStub.php | +53 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Tests/Stub/RetrieveProgramUserGroupStub.php | +7 | −7 | Go to diff View file |
M | plugins/tracker/include/Tracker/TrackerFactory.class.php | +3 | −2 | Go to diff View file |