Change page - Impossible to comment on line not expanded
Summary
When checking the changes on a Merge request, it is impossible to comment on lines that are not presented in the change page after expanding them.
Steps to reproduce
- Submit a merge request for a file. The file should have multiple lines and the change should impact just one line
- Go in the "changes" tab of the Merge Request review tab
- Expand the collapsed lines (click on the ... area in the change view)
- Try to comment on one of the lines previously collapsed
What is the current bug behavior?
It is not possible to put a comment on one of this line
What is the expected correct behavior?
It should be possible to comment on any lines of the file. In this specific instance, I was pointing out that the comment in the file were outdated
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Running GitLab Community Edition 8.17.2 bab14bdb
Sorry, I don't have access to additional information, I'm not managing our Gitlab installation