While replying to an issue, changes to attachments are applied only if body is also changed #5887

Closed
opened 2025-11-02 06:39:23 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @CL-Jeremy on GitHub (Aug 23, 2020).

Description

As the title suggests, the OP of an issue is not affected. Only replies have to at least have a body for changes to attachments to be applied. Note that the initial upload succeeds without a body. You just cannot change it without changing the body.

See https://try.gitea.io/CL-Jeremy/Test/issues/1#issuecomment-31206, this also happens when there is already some content in body:

1

Newly uploaded files will not be reflected after refreshing until the body is modified (cf. https://try.gitea.io/CL-Jeremy/Test/issues/1#issuecomment-31207):

1
2

Screenshots

cf. https://try.gitea.io/CL-Jeremy/Test/issues/1 (attachments)

Originally created by @CL-Jeremy on GitHub (Aug 23, 2020). - Gitea version (or commit ref): try.gitea.io - Git version: (irrelevent) - Operating system: (Fedora Rawhide 33) - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL (MariaDB) - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (https://try.gitea.io/CL-Jeremy/Test/issues/1) - [ ] No - [ ] Not relevant - Log gist: ## Description As the title suggests, the OP of an issue is not affected. Only replies have to at least have a body for changes to attachments to be applied. Note that the initial upload succeeds without a body. You just cannot change it without changing the body. See https://try.gitea.io/CL-Jeremy/Test/issues/1#issuecomment-31206, this also happens when there is already some content in body: > 1 Newly uploaded files will not be reflected after refreshing until the body is modified (cf. https://try.gitea.io/CL-Jeremy/Test/issues/1#issuecomment-31207): > 1 > 2 ## Screenshots cf. https://try.gitea.io/CL-Jeremy/Test/issues/1 (attachments)
GiteaMirror added the topic/uitype/bug labels 2025-11-02 06:39:23 -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#5887