-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebDav SEARCH not returning owner-id or owner-display-name #12226
Comments
I've traced this down to the Folder.php file. ( server/lib/private/Files/Node/Folder.php Line 251 in 9d7f02e
All By changing line 251 to $files[] = new \OC\Files\FileInfo($this->path . '/' . $result['path'], $storage, $result['internalPath'], $result, $mount,
\OC::$server->getUserManager()->get($mount->getStorage()->getOwner($this->path . '/' . $result['path']))); the issue goes away. |
@hactar Mind to create a pull request? ;) |
Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you! |
Sorry but I no longer maintain the project that required this fix, so am unable to test this for you :) |
According to https://docs.nextcloud.com/server/14/developer_manual/client_apis/WebDAV/search.html the
owner-display-name
orowner-id
is selectable, in practice the property is not returned, even if explicitly requested.Steps to reproduce
Do a SEARCH, like:
Expected behaviour
I should get files back, including the owner-display-name.
Actual behaviour
I get files back, but get a
HTTP/1.1 404 Not Found
for owner-display-name and owner-id property, like here:Server configuration
Tested with Nextcloud docker 14.0.3.
The text was updated successfully, but these errors were encountered: