stable

Clone or download

Read-only

Move WorkflowErrorPresenter from Domain to Adapter

part of story #27185 add a team and inherit the existing PI & Iterations How to test: Three differents configuration in team project that can lead to the error - have a standard `workflow` with transitions rule on status - have a `global rule` defined - have a `field dependy` defined Each time you misconfigure the team tracker, when you'll go back on Program > Administration An error will be displayed Note: Presenter objects are like Representation object, they carry technical values to be displayed, they are not par of Domain Every Presenter will be reworked the same way and eventually I'll be able to - Move ConfigurationErrorsCollector into Domain, collectif what's wrong in configuration should be considered as Domain - ProgramAdminPresenter will also be build from a Domain object, and it will enable me to run some tests on its content, today there is no uit test on it Change-Id: I84bfc132456f0b0245db5376109e47dd2326a32e

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Admin/Configuration/TrackerErrorPresenter.php +18 −4 Go to diff View file
A plugins/program_management/include/Adapter/Program/Admin/Configuration/WorkFlowErrorPresenter.php +46 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/ConfigurationErrorsCollector.php +9 −9 Go to diff View file
R plugins/program_management/include/Domain/Program/Admin/Configuration/WorkFlowErrorPresenter.php Go to diff View file