opencloud icon indicating copy to clipboard operation
opencloud copied to clipboard

watchfs: PROPFIND still returns old filename after file renamed on filesystem

Open ScharfViktor opened this issue 1 month ago • 5 comments

Describe the bug

https://github.com/opencloud-eu/opencloud/pull/1809 run test OC_WRAPPER_URL=http://opencloud-server:5200 TEST_SERVER_URL=https://opencloud-server:9200 make test-acceptance-api BEHAT_FEATURE=tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature:81

Steps to reproduce

  1. user creates file new.txt
  2. admin renames file to renamed.txt on filesystem
  3. user request propfind

Expected behavior

file is renamed, user can open file

Actual behavior

user sees old file new.txt on web (in propfind response body). user cannot open file because file is not exist see comment https://github.com/opencloud-eu/opencloud/pull/1806#issuecomment-3501599088

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

OC_XXX=somevalue
OC_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

ScharfViktor avatar Nov 07 '25 09:11 ScharfViktor

I guess this is at least somewhat related to #1763. So I'll assign this to myself for now as I am working on the other issue already.

rhafer avatar Nov 10 '25 10:11 rhafer