-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 4.8.6, 4.9.1, 4.10.2, 4.11.2, 5.5.0, 5.3.4, 5.4.2, 5.0.9, 5.1.8, 5.2.6
-
Component/s: Pull Requests - Commit-level Review, UI
-
None
-
Severity 3 - Minor
When attempting to view the diff of a file that contains only whitespace changes with "Ignore whitespace" turned on the diff fails to load and the spinner remains. The following JavaScript error will appear on the console:
Uncaught TypeError: Cannot read property 'hunks' of undefined
Workaround
- Go to the diff for an unaffected file
- Turn off "Ignore whitespace" in the menu at the top of the diff