gitea/templates/repo/issue
zeripath 03ba12aabf
Prevent NPE on commenting on lines with invalidated comments (#12549) (#12550)
* 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 #12239 by assuming that a comment without a Review is
non-pending.

Fix #12239

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

* Add hack around to show the broken comments

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-08-21 10:52:20 +03:00
..
labels Remove last traces of has-emoji class (#11263) 2020-05-01 20:58:45 +03:00
view_content Prevent NPE on commenting on lines with invalidated comments (#12549) (#12550) 2020-08-21 10:52:20 +03:00
branch_selector_field.tmpl Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
comment_tab.tmpl Prettify timeline 3 (#11139) 2020-05-14 15:15:21 -04:00
label_precolors.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
labels.tmpl Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
list.tmpl Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
milestone_issues.tmpl Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
milestone_new.tmpl Fix max length check and limit in multiple repo forms (#9148) 2019-11-25 01:06:23 +02:00
milestones.tmpl Change action GETs to POST (#10462) 2020-02-25 14:28:47 -06:00
navbar.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
new_form.tmpl Remove last traces of has-emoji class (#11263) 2020-05-01 20:58:45 +03:00
new.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
search.tmpl Fix search form button overlap (#11840) (#11864) 2020-06-12 13:23:13 +01:00
view_content.tmpl Fix to allow comment poster to edit or delete his own comments (#11671) (#11774) 2020-06-06 17:43:01 -04:00
view_title.tmpl Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
view.tmpl Prettify timeline 3 (#11139) 2020-05-14 15:15:21 -04:00