Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deleting wrong image attachments from issue comments #16749

Closed
1 task done
noerw opened this issue Aug 20, 2021 · 6 comments
Closed
1 task done

deleting wrong image attachments from issue comments #16749

noerw opened this issue Aug 20, 2021 · 6 comments
Labels
Milestone

Comments

@noerw
Copy link
Member

noerw commented Aug 20, 2021

Description

  1. create an issue(comment) and paste multiple images via ctrl+v (resulting in an image upload + markdown img tag)
  2. edit the comment, and delete the second file
  3. the wrong image is deleted (in my case the 3rd image, not the 2nd)

It seems that initially adding images via dropzone does not cause this issue.

Screenshots

better look at the try.gitea.io link above

@noerw noerw added the type/bug label Aug 20, 2021
@KN4CK3R KN4CK3R added this to the 1.15.0 milestone Aug 22, 2021
@KN4CK3R
Copy link
Member

KN4CK3R commented Aug 22, 2021

I can reproduce it. Should be fixed before 1.15 release.

@zeripath zeripath modified the milestones: 1.15.0, 1.15.1 Aug 23, 2021
@zeripath
Copy link
Contributor

zeripath commented Sep 1, 2021

I'm struggling to reproduce this.

@KN4CK3R
Copy link
Member

KN4CK3R commented Sep 1, 2021

Still works for me on try.gitea.io
I deleted the "H2" image but afterwards the "H3" image is missing:

grafik

@wxiaoguang
Copy link
Contributor

Look at this #16915 😂

@zeripath
Copy link
Contributor

zeripath commented Sep 1, 2021

ah I suspected it was going to be a same name thing - but the bug report does not state that.

@noerw
Copy link
Member Author

noerw commented Sep 2, 2021

@wxiaoguang thank you!

@noerw noerw closed this as completed Sep 2, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants