stable

Clone or download

Read-only

TrackerPresenter must be built from a Domain object

part of story #27185 add a team and inherit the existing PI & Iterations No functional changes: - try to add a misconfiguration error in program (exemple remove its title semantic) - try to add a misconfiguration error in a team (exemple add a workflow on team release tracker) - try to add a misconfiguration error in iteration (example in team sprint tracker make a field required) Errors must still be properly displayed Note: ProgramAdminPresenter should build from a Domain object and should be unit tested Change-Id: I7843d746cfb7cb7716f05cc8a67c3b3012f55f3a

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Admin/Configuration/ConfigurationErrorPresenterBuilder.php +4 −6 Go to diff View file
M plugins/program_management/include/Adapter/Program/Admin/Configuration/TrackerErrorPresenter.php +97 −197 Go to diff View file
M plugins/program_management/include/Adapter/Program/Admin/ProgramAdminPresenter.php +16 −25 Go to diff View file
A plugins/program_management/include/Domain/Program/Admin/Configuration/TrackerError.php +91 −0 Go to diff View file
M plugins/program_management/templates/admin/admin.mustache +38 −32 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Admin/Configuration/TrackerErrorTest.php +219 −0 Go to diff View file