Skip to content

Code Review Comment Creation 500 in Gitea Version 1.21.3 #29063

Closed
@Menah3m

Description

@Menah3m

Description

I am using Gitea version 1.21.3, and when creating a code review comment, an error occurs with the following message:

2024/01/30 14:27:51 .../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
image

I noticed that this issue has been fixed in #28351 by the official team, but it seems the fix is not effective. Could you please help investigate how to resolve this issue?

Gitea Version

1.21.3

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

bug.mov

Git Version

2.39

Operating System

CentOS7

How are you running Gitea?

Kubernetes cluster

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions