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

fix(dav): report status #40474

Merged
merged 1 commit into from Sep 18, 2023
Merged

fix(dav): report status #40474

merged 1 commit into from Sep 18, 2023

Conversation

skjnldsv
Copy link
Member

Fixed favorites and (incoming) tag view

Context

If a status is defined on the response, it will be used and forced-rendered outside of propstat. Which is invalid according to the RFC and broke in the last webdav update (which is now compliant to the rfc too)

https://github.com/nextcloud/3rdparty/blob/1269091e96a2a550912db37c0d2b29ed5c0aa60f/sabre/dav/lib/DAV/Xml/Element/Response.php#L115-L117

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
@skjnldsv skjnldsv added this to the Nextcloud 28 milestone Sep 18, 2023
@skjnldsv skjnldsv requested review from susnux and a team September 18, 2023 09:32
@skjnldsv skjnldsv self-assigned this Sep 18, 2023
@skjnldsv skjnldsv requested review from ArtificialOwl, icewind1991 and Fenn-CS and removed request for a team September 18, 2023 09:32
@skjnldsv skjnldsv mentioned this pull request Sep 18, 2023
1 task
@skjnldsv skjnldsv merged commit 9ea9743 into master Sep 18, 2023
35 of 38 checks passed
@skjnldsv skjnldsv deleted the fix/report-dav branch September 18, 2023 12:07
@susnux
Copy link
Contributor

susnux commented Sep 18, 2023

For reference: This one is a workaround for sabre-io/dav#1488

@icewind1991
Copy link
Member

Tests meed updating?

There was 1 failure:
--
Failed asserting that null matches expected 200. 
--
/drone/src/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php:445

@skjnldsv
Copy link
Member Author

@icewind1991 #40485

@susnux
Copy link
Contributor

susnux commented Feb 21, 2024

/backport to stable27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants