Previous summary content remains after finishing a review
Summary
When reviewing an MR a second time, the previous summary content is presented within "Finish Review".
Steps to reproduce
- Review an MR
- Write a comment and select "Start a review"
- Click on "Finish Review"
- Write a summary content and click "Submit Review"
- Repeat steps 1-3
Note that the previous summary content is pre-filled in the summary content text area.
Example Project
n/a
What is the current bug behavior?
The previous summary content is pre-filled in the summary content text area.
What is the expected correct behavior?
The previous summary content that was submitted should not be shown again. Instead, the summary content text should be empty.
Relevant logs and/or screenshots
Output of checks
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
Edited by Matthias Schoettle