1
0
forked from gitea/gitea
zeripath 9c9c3348bb
Prevent NPE on commenting on lines with invalidated comments (with migration) ()
* Prevent NPE on commenting on lines with invalidated comments

Only check for a review if we are replying to a previous review.

Prevent the NPE in  by assuming that a comment without a Review is
non-pending.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add hack around to show the broken comments

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add migration and remove template hacks

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-08-21 10:53:14 +03:00
..