stable

Clone or download

Read-only

Fix request #31520 Program administration error when user cannot access one aggregated project

Given a user that is administrator of a program project, if this user cannot access at least one of the aggregated project, then a generic error is displayed when accessing the program administration. A meaningful error message must be displayed instead explaining why the administration cannot be displayed. Change-Id: I0657ad6f559c218260a45cc23875cd4b07075639

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Admin/ProgramAdminPresenter.php +3 −0 Go to diff View file
M plugins/program_management/include/Adapter/Team/VisibleTeamSearcher.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/ProgramAdmin.php +24 −15 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/ProgramAdminTeam.php +5 −0 Go to diff View file
M plugins/program_management/include/Domain/Team/TeamIsNotVisibleException.php +4 −3 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +9 −2 Go to diff View file
M plugins/program_management/site-content/pt_BR/LC_MESSAGES/tuleap-program_management.po +6 −1 Go to diff View file
M plugins/program_management/templates/admin/admin.mustache +58 −46 Go to diff View file
M plugins/program_management/tests/unit/Stub/SearchVisibleTeamsOfProgramStub.php +2 −2 Go to diff View file