-
-
Notifications
You must be signed in to change notification settings - Fork 416
Deleting an attachment doesn't actually delete the attachment #1573
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
Comments
https://community.getgrist.com/t/delete-attachment-from-trigger-formula/4955/2 |
Ah, thanks for figuring this out and following up @QazCetelic. A way to force this housekeeping step as part of an API endpoint would be welcome. |
Thanks for the response. I did notice that the test images I uploaded yesterday (and subsequently "deleted) have still not been cleaned out, am I missing something else or could there be an issue? EDIT 2025-04-22: EDIT 2025-04023: There also appears to already be an endpoint to force removing unused attachments intended for testing ( I noticed that the "deleted" file is soft deleted in the attachment table, but not in the files table. 🤔 |
I just checked, and the files have remained in the Document. I think the cleanup functionality may be broken. |
Describe the current behavior
Deleting an attachment doesn't actually delete the attachment, it just removes the reference in the table.
_gristsys_Files
Steps to reproduce
Describe the expected behavior
Pressing the delete button on an attachment should actually delete it
Where have you encountered this bug?
Instance information (when self-hosting only)
Grist instance:
Browser name, version and platforms on which you could reproduce the bug: n/a
Link to browser console log if relevant: n/a
Link to server log if relevant: n/a
The text was updated successfully, but these errors were encountered: