Resolve "diffs_metatdata Returning 500 Error - nil can't be coerced into Integer"
requested to merge 332621-diffs_metatdata-returning-500-error-nil-can-t-be-coerced-into-integer into master
What does this MR do?
If merge_request_diff
for some reason isn't contained in @merge_request_diffs
, we will see a TypeError
(Sentry)
There were no tests for #version_index
so I added a few, but they don't cover every eventuality.
Related to #332621 (closed)
Edited by Kerri Miller