Unable to expand code in Side-By-Side reviewing code in Merge Request
Summary
When reviewing changes within a merge request collapsed lines are not expandable. Clicking on the expansion will query and return null values.
Steps to reproduce
- Commit a file with x lines. (I've numbered mine for the screenshots)
- Commit changes to the file to a new branch (Modify groups of lines between other unchanged)
- Create Merge Request
- View Merge Request > Changes > Side-by-side
- Attempt to expand unmodified lines.
Example Project
Reported by customer 11.1.2, reproduced locally on 11.1.2, and gitlab.com
Example Project: https://gitlab.com/davinwalker/testproject/merge_requests/1
What is the current bug behavior?
Expanded lines do not appear:
What is the expected correct behavior?
See expanded lines
Relevant logs and/or screenshots
Per the console/network in the browser it looks like the query to return the missing lines is returning all null data:
https://gitlab/group/project/
blob/b35cd1d2e684a153033b0a55d6e0a2cc0a5218a7/
test.txt/diff?
since=116
to=136
bottom=false
offset=0
unfold=true
view=parallel
from_merge_request=true
Internal ZD: https://gitlab.zendesk.com/agent/tickets/101009