outline icon indicating copy to clipboard operation
outline copied to clipboard

File attachment not deleted after remove it from the document

Open liccowee opened this issue 3 years ago • 2 comments

To Reproduce Steps to reproduce the behavior:

  1. Open or create any new document
  2. Upload any file attachment and save
  3. Edit the same document and remove the file attachment
  4. File is removed from document but still persist on the file storage

Expected behavior File should be get delete as well after the file is remove from the document

Outline (please complete the following information):

  • Install: [self hosted]
  • Version: v.0.63.0

liccowee avatar Apr 24 '22 02:04 liccowee

This is by design as attachments and images remain available in previous revisions of the document.

We could definitely entertain some cleanup if the file is added AND removed before a revision is written.

tommoor avatar Apr 24 '22 03:04 tommoor

I noticed this problem too. And it will be deleted when you totally remove a page from outline. BUT, the team LOGO and user picture won't be deleted when you use a new one to change the old one.

1itt1eB0y avatar May 13 '22 13:05 1itt1eB0y

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Sep 11 '22 02:09 github-actions[bot]

Automatically closed due to inactivity

github-actions[bot] avatar Sep 16 '22 02:09 github-actions[bot]