stable

Clone or download

Read-only

Add i18n for add rest error (ProgramIncrementResource and ProgramBacklogItemResource)

This is part of story #21792 define Teams associated to Programs How to test: - Use GET and PATCH of program_increment/:id/content with some errors (bad ids, add and order are null both time) => There is i18n error message - Use GET program_backlog_items/:id/children with some errors (bad id) => There is i18n error message Change-Id: Ic6d809445478316f9c62d7cd76e536ff3eb5822a

Modified Files

Name
M plugins/program_management/include/Domain/Program/Backlog/Feature/Content/Links/FeatureIsNotPlannableException.php +14 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Feature/Links/FeatureNotAccessException.php +9 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/NotAllowedToPrioritizeException.php +15 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Content/AddOrOrderMustBeSetException.php +9 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementNotFoundException.php +15 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Plan/ProgramIncrementCannotPlanIntoItselfException.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/ProgramNotFoundException.php +18 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/ProgramSearcher.php +1 −3 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramBacklogItemsResource.php +3 −2 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramIncrementResource.php +6 −7 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +33 −6 Go to diff View file