stable
Clone or download
Read-only
RedirectParameterInjector must not be called directly from plugin (bridge between adapters)
part of: story #21385 display Program's iterations No functional changes: How to test:: - submit a new PI => you are properly redirected - submit and continue a new PI => you stay - submit a new PI you are redirected on program app - submit and stay a new PI => you are not redirected - 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 Change-Id: I381ab94e9005b79624e3a4597731774eacc1d59a
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/program_management/include/Adapter/Events/BuildRedirectFormActionEventProxy.php | +94 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Events/BuildRedirectFormActionEvent.php | +35 | −0 | Go to diff View file |
A | plugins/program_management/include/Domain/Redirections/BuildRedirectFormActionHandler.php | +53 | −0 | Go to diff View file |
D | plugins/program_management/include/RedirectParameterInjector.php | +0 | −94 | Go to diff View file |
M | plugins/program_management/include/program_managementPlugin.php | +11 | −22 | Go to diff View file |
A | plugins/program_management/tests/unit/Adapter/Events/BuildRedirectFormActionEventProxyTest.php | +116 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Domain/Redirections/BuildRedirectFormActionHandlerTest.php | +95 | −0 | Go to diff View file |
D | plugins/program_management/tests/unit/RedirectParameterInjectorTest.php | +0 | −66 | Go to diff View file |
A | plugins/program_management/tests/unit/Stub/BuildRedirectFormActionEventStub.php | +69 | −0 | Go to diff View file |