Skip to content
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

Separate PROPFIND logic for Depth 1 and infinity #779

Merged
merged 1 commit into from
May 28, 2020
Merged

Separate PROPFIND logic for Depth 1 and infinity #779

merged 1 commit into from
May 28, 2020

Conversation

PVince81
Copy link
Contributor

Switching to path concatenation broke some cross-storage cases.
Since clients currently only use Depth 1, here we make sure that at
least this works.
For the infinity case, it is limited to single storage recursion for
now.

This is a workaround to unblock the public shares PR by removing the regression from view: #681

I've tested the propfinds locally and they work with all depths, but I only tested single-storage as I don't have the env for cross-storage. Based on the knowledge in #681 (comment) we know that the depth-1 logic does work there.

@refs

Switching to path concatenation broke some cross-storage cases.
Since clients currently only use Depth 1, here we make sure that at
least this works.
For the infinity case, it is limited to single storage recursion for
now.
@PVince81
Copy link
Contributor Author

PVince81 commented May 27, 2020

Important note: I chose to keep the Depth:infinity logic in place because we already have automated tests that rely on it to be able to verify results for unrelated scenarios. I don't want to disable those tests or rewrite them as it would be even more work.

@labkode labkode merged commit d0d7449 into cs3org:master May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants