New comments in merge request code review sub discussions summon up a copy of OP comment
Summary
New comments in merge request code review sub discussions summon up a copy of OP comment
Steps to reproduce
- Create a comment on the merge request code diff
- Wait for someone to react to that comment
- The page should not be refreshed (the new comment is loaded in automatically
- Your original comment is now showed twice...
Example Project
I had it happen to me at gitlab-com/www-gitlab-com!15192 (diffs) (but refreshed the page)
What is the current bug behavior?
New comments in merge request code review sub discussions summon up a copy of OP comment. After refresh of the page it is gone.
What is the expected correct behavior?
No content is duplicated
Relevant logs and/or screenshots
Output of checks
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)