stable

Clone or download

Read-only

Add error badge when error has occurred

part of story #27185 add a team and inherit the existing PI & Iterations How to test: - in program administration link a new team - make sure that team synchronization will fail - click on synchronization button Expected result: - an error badge is displayed - user can not spam synchronization button is disabled - user can not remove team from program Change-Id: I4e8a1f4983b448683756f1e881e77b1df45a2150

Modified Files

Name
M plugins/program_management/db/install.sql +5 −3 Go to diff View file
A plugins/program_management/db/mysql/2021/202207281459_add_colum_has_error_on_team_synchronisation.php +46 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Admin/Team/TeamPresenter.php +1 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Admin/Team/TeamsPresenterBuilder.php +4 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/PendingSynchronizationDao.php +29 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/SynchronizeTeamProcessor.php +16 −2 Go to diff View file
M plugins/program_management/include/DisplayAdminProgramManagementController.php +4 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessor.php +10 −17 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/TeamSynchronization/MissingProgramIncrementCreator.php +13 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/TeamSynchronization/StoreTeamSynchronizationErrorHasOccurred.php +27 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/TeamSynchronization/VerifyTeamSynchronizationHasError.php +30 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +10 −6 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +10 −0 Go to diff View file
M plugins/program_management/site-content/pt_BR/LC_MESSAGES/tuleap-program_management.po +8 −0 Go to diff View file
M plugins/program_management/templates/admin/teams/admin-list-teams.mustache +6 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Admin/Team/TeamsPresenterBuilderTest.php +4 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessorTest.php +0 −40 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/SynchronizeTeamProcessorTest.php +39 −1 Go to diff View file
M plugins/program_management/tests/unit/DisplayAdminProgramManagementControllerTest.php +3 −1 Go to diff View file
A plugins/program_management/tests/unit/Stub/StoreTeamSynchronizationErrorHasOccurredStub.php +46 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/VerifyTeamSynchronizationHasErrorStub.php +48 −0 Go to diff View file
M plugins/program_management/themes/program_management/_admin.scss +5 −0 Go to diff View file