Skip to content

Failed to add comment to a PR - slice out of range #28347

@ghazninattarshah

Description

@ghazninattarshah

Description

2023/12/04 16:59:48 .../context_response.go:86:HTML() [E] Render failed: failed to render template: repo/diff/conversation, error: template error: builtin(bindata):repo/diff/conversation:1:16 : executing "repo/diff/conversation" at <index .comments 0>: error calling index: reflect: slice index out of range

{{$resolved := (index .comments 0).IsResolved}}
^

Gitea Version

1.21.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

1.21.1

Operating System

No response

How are you running Gitea?

In virtual machine using the docker rootless image from docker hub

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions