opencloud icon indicating copy to clipboard operation
opencloud copied to clipboard

Deleting a directory does not Purge metadata of children

Open butonic opened this issue 1 month ago • 1 comments

Steps to reproduce

  1. use posixfs
  2. Create dir/file.txt
  3. Trash dir
  4. Delete dir from cache.

Expected behavior

cache should no longer know dir/file.txt

Actual behavior

cache still knows all children

butonic avatar Nov 10 '25 14:11 butonic

well, at least for posixfs, the metadata is deleted from the cache when moving files to the trash in MoveToTrash

butonic avatar Nov 10 '25 15:11 butonic

fixed in https://github.com/opencloud-eu/reva/pull/411 as well

butonic avatar Nov 12 '25 10:11 butonic