stable

Clone or download

Read-only

feat: Add git repo ID to error message

How to test: - fork a repository to another project - create a pull request from Fork project to Main project - forge the database: edit the plugin_pullrequest_review table and change the repository_id to some bogus value for the pull request - create an inline and a global comment on the pull request. You should get error 404, the error message should include the source repository's ID - Other REST routes should also return error 404, and their error message should include the source repository's ID as well part of story #32316 Update comments Change-Id: I50f611f7930e0e78a0576c3e80811eeef31774c4

Modified Files

Name
M plugins/pullrequest/include/PullRequest/REST/v1/InlineComment/POSTHandler.php +15 −20 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +28 −18 Go to diff View file
M plugins/pullrequest/tests/unit/REST/v1/InlineComment/POSTHandlerTest.php +20 −12 Go to diff View file