-
Notifications
You must be signed in to change notification settings - Fork 6
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
FileAPI, find method doesn't work well for Group Folders #263
Comments
Do you know if this is perhaps by design or are you sure PROPFIND is supposed to work with subfolders in Groupdolders? |
PROPFIND works with subfolders in Groupfolder, here is an example with NC webDAV api:
And I'm able to get files/subfolders under this group folder.
|
Unfortunately, it is a I found such issue: Looking at code, I do not see a handler for https://github.com/nextcloud/groupfolders/blob/master/lib/DAV/PropFindPlugin.php |
Describe the bug
When the search target is a Group Folder, if the path contains only the root folder, the Find method works great. I can get all matching files, even in deep subfolders. But if the path contains a subfolder, the search result is empty.
When the search target is other than a Group Folder (personal folder or shared folder), it works great with paths containing subfolders.
Steps/Code to Reproduce
nc.files.find(["like","name","%.png"],path="GroupFolderB/")
nc.files.find(["like","name","%.png"],path="GroupFolderB/subFolderA")
Expected Results
Returns matching files under the target path (including subfolders)
Actual Results
Returns empty results.
Setup configuration
nc_py_api commit version: fd92a25
NextCloud 28.0.4
The text was updated successfully, but these errors were encountered: