mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[Bug]: Deleting card with attachaments doesn't delete files on S3 #673
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adiologydev on GitHub (Mar 27, 2025).
Where is the problem occurring?
I encountered the problem while using the application (Frontend)
What browsers are you seeing the problem on?
Firefox
Current behaviour
When you delete a card with attachments, the attachment file on S3 is not deleted (I haven't tested with local storage; maybe it doesn't delete it either).
It works fine if you delete the attachment manually.
Desired behaviour
All attachments associated with a card should be deleted when the parent card, list, or project is deleted.
Steps to reproduce
Other information
This could be happening across every parent such as list and project as well. I haven't tested that aspect, but just sharing in case that does happen.
I'm not familiar with the code-base, but I can try to work on the 2 issues I've made when I find time over the weekend.
@meltyshev commented on GitHub (Mar 27, 2025):
Hi! Related issues: #244, #446. This has already been fixed in v2, which we’re releasing soon. Additionally, the upgrade script will clean up all undeleted attachments and other uploaded files.
@adiologydev commented on GitHub (Mar 27, 2025):
Oh, perfect, thank you. Closing this now!