Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
WebDav multiple props PROPFIND applied to folder returns incorrect file meta data #36920
I would like to add and receive various custom meta properties to my files. After having proppatched custom meta properties to my files, I would like to propfind that custom meta data for all files in a directory recursively. So that I get information about which files are in that directory and subdirectories and what custom meta values these files contain.
I hoped I could do this in one single propfind request. I get correct results if I request only a single custom meta property, but if I request multiple custom meta properties at once, the results become incorrect for some reason.
Steps to reproduce
The response should return the correct prop values for each file.
One of the prop variables is mixed up and returns the value of one of the files for all files.
When the multi-propfind is applied directly to a file, the result is correct.
I also checked the MariaDB tables oc_properties and oc_filecache, they are set correctly.
Operating system: Linux Docker (on Windows 10 Pro 64bit)
Web server: Docker Image
ownCloud version: 10.3.2 (stable)
Updated from an older ownCloud or fresh install: fresh install
Where did you install ownCloud from: Docker
Integrity: No errors have been found.
The content of config/config.php:
Are you using an external user-backend, if yes which one: Webdav
Browser: Mozilla Firefox
Operating system: Windows 10 Pro 64bit
curl 7.55.1 (Windows) libcurl/7.55.1 WinSSL
I added QA-team labels, we need some acceptance tests that check combinations of PROPFIND stuff, including the type of scenarios here. But also for doing "ordinary" multi-PROPFIND of the "ordinary" properties of files in a folder etc.
I expect that will easily demonstrate the issue above. Then someone can fix it.
@kiranparajuli589 please get someone to look at acceptance tests.