-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
When Creating an Issue, Attachments that are Added and then Removed are Still Attached #22731
Comments
Thanks for the reply. I'm of course not the one to decide behavior, but I don't think this is good. It's unexpected to have to "remove" the attachment twice. |
Hmm, firstly It's a hard job to check if it's link is exist in the contant, then although it's link not exist in the content, it's also can be a part of comment like other file types. |
When adding an attachment through a comment, could we get someway to know it's there, and then remove it? |
It's really unnecessary to parse the comment content to detect whether the attachments have been removed. |
We close issues that need feedback from the author if there were no new comments for a month. 🍵 |
Description
When creating an issue, attachments that are added and then removed are still attached. Steps to reproduce.
Gitea Version
19.0+dev-415-g82728a7ce
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
https://try.gitea.io/
Database
None
The text was updated successfully, but these errors were encountered: