stable

Clone or download

Read-only

Refacto: Move presenter from Domain to Adapter

part of story #27185 add a team and inherit the existing PI & Iterations How to test: User must be administrator or Program and Team, but must NOT be site administrator In release or sprint tracker of team, make sur user can not read/submit the title field Go back in program > Administration error message is 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: I06520c4aa9130e8c55addd1f6eafffbe06d484c4

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Admin/Configuration/ConfigurationErrorPresenterBuilder.php +0 −1 Go to diff View file
A plugins/program_management/include/Adapter/Program/Admin/Configuration/FieldsPermissionErrorPresenter.php +49 −0 Go to diff View file
R plugins/program_management/include/Domain/Program/Admin/Configuration/TrackerErrorPresenter.php Go to diff View file
M plugins/program_management/include/Adapter/Program/Admin/ProgramAdminPresenter.php +1 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/ConfigurationErrorsCollector.php +6 −6 Go to diff View file
R plugins/program_management/include/Domain/Program/Admin/Configuration/FieldsPermissionErrorPresenter.php Go to diff View file
R plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/TrackerErrorPresenterTest.php Go to diff View file