-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Description
Description
I upgraded my gitea instance to version 1.21.7.
When I open certain PR's which already have a conversation/comments attached, I get the following error:
Render failed, failed to render template: repo/pulls/files, error: template error: builtin(bindata):repo/diff/conversation:4:45 : executing "repo/diff/conversation" at <0>: nil pointer evaluating *issues.Review.Type
{{$isNotPending := (not (eq (index .comments 0).Review.Type 0))}}
^
Since this looked similar to #29773 I also tried the newer versions 1.21.9 and even nightly with the same results.
Gitea Version
1.21.7
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
Screenshots
Git Version
2.40.1
Operating System
Ubuntu 22.04
How are you running Gitea?
docker (official docker image managed by doker-compose)
Database
None
