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

Closed
opened 2025-11-02 09:00:15 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @JohaJung on GitHub (Jan 28, 2023).

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

Originally created by @JohaJung on GitHub (Jan 28, 2023). ### 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
GiteaMirror added the type/bug label 2025-11-02 09:00:15 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10174