Gitea duplicates issue attachments #84

Open
opened 2024-07-27 20:02:17 +02:00 by Burer · 1 comment

Gitea duplicates some of the issue image attachments, if you attach more than one file.

(Just test issue, trying to reproduce this bug).

Gitea duplicates some of the issue image attachments, if you attach more than one file. (Just test issue, trying to reproduce this bug).
Burer closed this issue 2024-07-27 20:03:58 +02:00
Author

Okay, managed to catch the bug again, and I think I figured out how to reproduce it:

  1. Start typing a message and press Ctrl+V with a picture on the clipboard. It will be added to the text as an attachment/embedded image, but NOT added to the list of images/attachments below the post.
  2. Remove that image/attachment link from the post text.
  3. Publish the post, and the embedded and deleted image will be saved as an attachment to the text.

This post also shows an example of this bug, the duplicated image is attached to the post with the caption "image.png" but is not displayed in any way until post is published.

Okay, managed to catch the bug again, and I think I figured out how to reproduce it: 1. Start typing a message and press Ctrl+V with a picture on the clipboard. It will be added to the text as an attachment/embedded image, but NOT added to the list of images/attachments below the post. 2. Remove that image/attachment link from the post text. 3. Publish the post, and the embedded and deleted image will be saved as an attachment to the text. This post also shows an example of this bug, the duplicated image is attached to the post with the caption "image.png" but is not displayed in any way until post is published.
Burer reopened this issue 2024-08-04 07:24:08 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#84
No description provided.