stable
Clone or download
part of story #21368 create mirrored iteration How to test: Run `tuleap config-set feature_flag_program_management_display_iteration 1` to enable iterations - When you edit a Program Increment artifact and add one or more artifact links with _is_child type to Iteration artifacts, there will be a log line in /var/log/tuleap/program_management_syslog like: [debug] Program increment has new iterations: [828,251] With 828 and 251 being the artifact ids of the Iterations - When you edit the same Program Increment artifact again without changing the artifact links, nothing will be logged, as the artifact links are not "newly added". - Without the _is_child type, nothing is logged. - If you link an artifact that is not configured as an Iteration in program administration (for example if you link a Feature), nothing is logged. - Without the feature flag, nothing is logged. Change-Id: I549b8eb9dd99995a3551b525b1402623ca34a78f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/program_management/include/Adapter/Program/Backlog/Iteration/IterationsLinkedToProgramIncrementDAO.php | +35 | −1 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/IterationReplicationScheduler.php | +20 | −7 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Backlog/Iteration/JustLinkedIterationCollection.php | +64 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Backlog/Iteration/VerifyIterationHasBeenLinkedBefore.php | +33 | −0 | Go to diff View file |
M | plugins/program_management/include/program_managementPlugin.php | +1 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactUpdatedHandlerTest.php | +2 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/IterationReplicationSchedulerTest.php | +32 | −8 | Go to diff View file |
A | plugins/program_management/tests/unit/Domain/Program/Backlog/Iteration/JustLinkedIterationCollectionTest.php | +109 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Stub/SearchIterationsStub.php | +5 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Stub/VerifyIsVisibleArtifactStub.php | +5 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Stub/VerifyIterationHasBeenLinkedBeforeStub.php | +57 | −0 | Go to diff View file |