notes icon indicating copy to clipboard operation
notes copied to clipboard

Deleted attachments in the note, files are not deleted

Open FriedhelmLG opened this issue 2 years ago • 1 comments

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.

  • Notes app version: 4.8.1
  • Nextcloud version: 27
  • OS: Linux
  • Web server: apache
  • PHP version: 8.1
  • Database: MariaDB

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.

  • Browser (incl. version):
  • OS:

Log files

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

FriedhelmLG avatar Nov 18 '23 18:11 FriedhelmLG

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

ghost avatar Jan 04 '24 14:01 ghost