nextcloud / notes

✎ Distraction-free notes and writing
https://apps.nextcloud.com/apps/notes
GNU Affero General Public License v3.0
622 stars 134 forks source link

Deleted attachments in the note, files are not deleted #1165

Open FriedhelmLG opened 11 months ago

FriedhelmLG commented 11 months ago

Steps to reproduce

  1. Insert a link to an existing image. The file is copied to the Attachment folder.
  2. Delete the link inserted under point 1
  3. The file still exists in the Attachment folder.

Expected behaviour

If the link is deleted, the associated file must also be deleted.

Server

Please complete the following information.

Nextcloud configuration:

``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder ```

Client

Please complete the following information.

Log files

Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.

ghost commented 10 months ago

Similarly, upload a file to a note, delete the note, the file remains in the Notes directory.