Issue images can not be deleted #9734

Closed
opened 2025-11-02 08:47:55 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @zjjhot on GitHub (Oct 25, 2022).

Description

clicking the Delete button does not respond, and the picture is not actually deleted.

OP9ZQ3T3DO1F8YCNM`T 9WF

YXOZ4GHTX97%VW@}HPS_O`L

Gitea Version

1.18.0~dev-865-g0c1b151c1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

windows gitea.exe

Database

No response

Originally created by @zjjhot on GitHub (Oct 25, 2022). ### Description clicking the Delete button does not respond, and the picture is not actually deleted. ![OP9ZQ3T3DO1F8YCNM`T 9WF](https://user-images.githubusercontent.com/79889452/197679277-b7ac184d-56db-42a5-890b-c8f86ee379a2.png) ![YXOZ4GHTX97%VW@}HPS_O`L](https://user-images.githubusercontent.com/79889452/197679244-f75a7e3c-089c-4f16-a3c3-c41e09631b12.png) ### Gitea Version 1.18.0~dev-865-g0c1b151c1 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? windows gitea.exe ### Database _No response_
GiteaMirror added the topic/uitype/bug labels 2025-11-02 08:47:55 -06:00
Author
Owner

@ghost commented on GitHub (Oct 28, 2022):

Interesting. Is it related to undefined? I haven't learnd dropzone before.

reproduce:
20221028-202021

@ghost commented on GitHub (Oct 28, 2022): Interesting. Is it related to `undefined`? I haven't learnd [dropzone](https://github.com/dropzone/dropzone) before. reproduce: ![20221028-202021](https://user-images.githubusercontent.com/76462613/198585586-71c7bec1-565c-4341-b52d-1bdd6e45e23b.gif)
Author
Owner

@ghost commented on GitHub (Oct 28, 2022):

For workaround, you can delete this comment, related attachments also be delete

@ghost commented on GitHub (Oct 28, 2022): For workaround, you can delete this comment, related attachments also be delete
Author
Owner

@wxiaoguang commented on GitHub (Oct 28, 2022):

Maybe I have fixed it in

But it's discarded (the new one for replacing is much more complex and I'm afraid it will be too difficult to maintain, and I haven't got time to test or optimize it)

@wxiaoguang commented on GitHub (Oct 28, 2022): Maybe I have fixed it in * https://github.com/go-gitea/gitea/pull/20147#issuecomment-1168151327 * the removal seems not working for edit on existing comment But it's discarded (the new one for replacing is much more complex and I'm afraid it will be too difficult to maintain, and I haven't got time to test or optimize it)
Author
Owner

@eeyrjmr commented on GitHub (Dec 4, 2022):

This appears to be working now or the triggers are more subtle

https://gitea.io/ Version: 1.19.0+dev-159-g46485848f

2022-12-04_11-12-1670155012

@eeyrjmr commented on GitHub (Dec 4, 2022): This appears to be working now or the triggers are more subtle https://gitea.io/ Version: 1.19.0+dev-159-g46485848f ![2022-12-04_11-12-1670155012](https://user-images.githubusercontent.com/4564448/205489041-3641d0f6-1113-4f2c-8385-f4595cec7404.jpg)
Author
Owner

@zjjhot commented on GitHub (Dec 22, 2022):

Maybe I have fixed it in

But it's discarded (the new one for replacing is much more complex and I'm afraid it will be too difficult to maintain, and I haven't got time to test or optimize it)

That's OK.

@zjjhot commented on GitHub (Dec 22, 2022): > Maybe I have fixed it in > > * [Add thumbnail to dropzone when pasting images in to comments #20147 (comment)](https://github.com/go-gitea/gitea/pull/20147#issuecomment-1168151327) > * the removal seems not working for edit on existing comment > > But it's discarded (the new one for replacing is much more complex and I'm afraid it will be too difficult to maintain, and I haven't got time to test or optimize it) That's OK.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9734