Skip to content

attachment of review not sent if no main review comment given #22647

Closed
@JohaJung

Description

@JohaJung

Description

Steps to reproduce:
Do a review of a PR, with some inline comments.
Then click the review button at the top, and in the popup field upload an attachment, but do not enter text into that "main comment" filed.

Expected behaviour:
The review is submitted, with all inline comments and the attachment.

Observed behaviour:
The review gets submitted with all inline comments, but the attachment is not visible, there is no main comment block where one'd expect it.

Gitea Version

1.18.3

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Debian stable (bullseye)

How are you running Gitea?

Installed from download.

Database

MySQL

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