stable

Clone or download

Read-only

Iteration redirection must done over Domain and not adapters

part of: story #21385 display Program's iterations How to test: - submit a new Iteration => you are properly redirected - submit and continue a new Iteration => you stay - submit a new Iteration you are redirected on iteration app - submit and stay a new iteration => you are not redirected Note: In next patch I will handle redirection for ProgramIncrement RedirectParameterInjector needs both redirect to be reworked, it will be done later Change-Id: I0c8ff51f962e52f5aaff2176c118e415cd03ee9f

Modified Files

Name
A plugins/program_management/include/Adapter/Events/RedirectUserAfterArtifactCreationOrUpdateEventProxy.php +70 −0 Go to diff View file
R plugins/program_management/include/Adapter/Redirections/IterationsRedirectParameters.php Go to diff View file
D plugins/program_management/include/Adapter/Redirections/RedirectToPlannedIterationsAppHandler.php +0 −52 Go to diff View file
A plugins/program_management/include/Domain/Events/RedirectUserAfterArtifactCreationOrUpdateEvent.php +39 −0 Go to diff View file
A plugins/program_management/include/Domain/Redirections/IterationRedirectionParameters.php +42 −0 Go to diff View file
A plugins/program_management/include/Domain/Redirections/RedirectToIterationsProcessor.php +53 −0 Go to diff View file
M plugins/program_management/include/RedirectParameterInjector.php +20 −8 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +14 −10 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Redirections/IterationRedirectionParametersProxyTest.php +52 −0 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Redirections/IterationsRedirectParametersTest.php +0 −47 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Redirections/RedirectToPlannedIterationsAppHandlerTest.php +0 −118 Go to diff View file
A plugins/program_management/tests/unit/Domain/Redirections/RedirectToIterationsProcessorTest.php +96 −0 Go to diff View file
A plugins/program_management/tests/unit/Domain/Redirections/RedirectUserAfterArtifactCreationOrUpdateEventProxyTest.php +72 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/IterationRedirectionParametersStub.php +68 −0 Go to diff View file