Cannot submit review for Merge Request
Summary
I am trying to respond to some comments with a Merge Request Review but when I click Submit Review
it doesn't do anything.
https://gitlab.com/bodhiproject/prediction-market-house-server/merge_requests/2?diff_id=49658563&start_sha=420ea6ef3b90bc38d7be73a78573070ecdacc3d0
Steps to reproduce
- User 1 comments on MR
- User 2 responds to comments
- User 1 creates a MR review and responds to User 2's comments
- User 1 tries to click
Submit Review
Example Project
What is the current bug behavior?
Clicking Submit Review
button does not submit it. I click it and it shows the loading spinner then the button becomes in the clickable state again.
It also returns a 500 network error to /publish
.
What is the expected correct behavior?
Clicking Submit Review
button should submit it.
Relevant logs and/or screenshots
Request metadata in Network tab of Chrome developer console:
Request URL: https://gitlab.com/bodhiproject/prediction-market-house-server/merge_requests/2/drafts/publish
Request Method: POST
Status Code: 500 Internal Server Error
Remote Address: [64:ff9b::23e7:9197]:443
Referrer Policy: origin-when-cross-origin
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Length: 2926
Content-Security-Policy: object-src 'none'; worker-src https://assets.gitlab-static.net https://gl-canary.freetls.fastly.net https://gitlab.com blob:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://assets.gitlab-static.net https://gl-canary.freetls.fastly.net https://www.google.com/recaptcha/ https://www.recaptcha.net/ https://www.gstatic.com/recaptcha/ https://apis.google.com; style-src 'self' 'unsafe-inline' https://assets.gitlab-static.net https://gl-canary.freetls.fastly.net; img-src * data: blob:; frame-src 'self' https://www.google.com/recaptcha/ https://www.recaptcha.net/ https://content.googleapis.com https://content-compute.googleapis.com https://content-cloudbilling.googleapis.com https://content-cloudresourcemanager.googleapis.com https://*.codesandbox.io; frame-ancestors 'self'; connect-src 'self' https://assets.gitlab-static.net https://gl-canary.freetls.fastly.net wss://gitlab.com https://sentry.gitlab.net https://customers.gitlab.com https://snowplow.trx.gitlab.net
Content-Type: text/html; charset=utf-8
Date: Thu, 01 Aug 2019 03:48:45 GMT
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache
Server: nginx
X-Request-Id: F92tDssKyu8
X-Runtime: 0.356176
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)