oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.29k stars 739 forks source link

Fix : NPE when displaying a diff #4469

Closed ginoaugustine closed 8 months ago

ginoaugustine commented 8 months ago

Populated the revision data if there is no error message. Added additional assertions to confirm revision data is populated while created diff for valid versions closes #4468

vladak commented 8 months ago

Thanks for the test improvements. The UI area is generally under-tested so this definitely helps. The fact that the issue was introduced is actually good in the end.