client icon indicating copy to clipboard operation
client copied to clipboard

[QA] Windows VFS tries to hydrate excluded filenames and fails

Open jnweiger opened this issue 3 years ago • 1 comments

Seen with ownCloud client 2.7.0 RC3 on windows 10 using VFS.

  • With the web UI on the server create a folder 'Music', with a few files in them. (PNG files in my case)
  • wait until sync finishes.
  • Make sure the status column of the folder shows a cloud. If needed click and and choose 'Free up space'
  • on the client rename the folder to one of the excluded filenames. e.g. Music~
  • the folder gets removed from the server. BAD. The contents is lost now. See #8217
  • enter the folder, click open a file.

Windows tries to connect the owncloud client for the contents of the file and fails after a timeout:

image image

Expected behaviour: an excluded file should always be exclude in fully hydrated state only. (Or alternatively, the exculded files list is not applied for renames. ) The file is always available locally.

jnweiger avatar Nov 09 '20 20:11 jnweiger

logs.zip

jnweiger avatar Nov 09 '20 21:11 jnweiger

After the rename to the excluded pattern the the files are removed from the sync set, meaning they are deleted on the server and the placholders are invalid. TODO:

  • Improve the error message.
  • Add documentation

TheOneRing avatar Aug 31 '23 09:08 TheOneRing