stable

Clone or download

Read-only

Let the backend handle gitlab exceptions

part of story #26801 create a merge request from artifact No functional changes, if branch already exists or if the reference is not found error are still translated in the modal Change-Id: I051da282e9eedf63152278ba30da67634790a3b8

Modified Files

Name
M plugins/gitlab/include/REST/v1/GitlabBranchCreator.php +16 −1 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/po/fr_FR.po +5 −9 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/po/pt_BR.po +0 −6 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/api/rest-querier.test.ts +11 −26 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/api/rest-querier.ts +13 −24 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/components/App.vue +14 −30 Go to diff View file
M plugins/gitlab/site-content/fr_FR/LC_MESSAGES/tuleap-gitlab.po +12 −0 Go to diff View file
M plugins/gitlab/site-content/pt_BR/LC_MESSAGES/tuleap-gitlab.po +12 −0 Go to diff View file
M plugins/gitlab/tests/unit/REST/v1/GitlabBranchCreatorTest.php +12 −0 Go to diff View file