-
Notifications
You must be signed in to change notification settings - Fork 113
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
ocdav: Adjust propstat response for removed properties #742
Conversation
oh... it seems that the "removeset" case is actually testing whether the proppatch operations were applied in order, it first sets a property and removes it directly within the same call... I had added a FIXME for this in the PR but will now address this directly... |
okay, now processing in correct order. it fixes the "propsetremove" issue. only one remains:
|
I suspect that the remaining issue might be because we don't copy properties when a Webdav COPY is done. This is another construction site to look at. Let's get this merged first |
@butonic FYI |
the last litmus issue is unrelated to propstat, raised here to fix separately: owncloud/ocis-reva#203 |
@PVince81 please rebase and happy to merge |
Removed properties now appear in a propstat block with status 204. The list of properties appearing in propstat blocks now depend on the request and no more on the values returned by the Stat call.
Webdav PROPPATCH spec requires the instructions to be processed in the correct order. This adjusts the logic to now only set or remove a single arbitrary metadata at a time, in the order given in the request.
I should have listened to the little voice in my head who was telling me to do both PROPPATCH PRs as one 😉 And now all the "props" litmus suites are passing 🎉
Rebased. |
Very nice job @PVince81 |
Removed properties now appear in a propstat block with status 204.
The list of properties appearing in propstat blocks now depend on the
request and no more on the values returned by the Stat call.
This fixes the propdeletes and popreplace test cases from Litmus.
Former result is owncloud/ocis-reva#183
Current result after the fix:
Next up I'll look into those additional issues.