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): Improve handling and logging of bulk upload failures #42001

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Dec 4, 2023

Fix #41464

Summary

Error from our log: Undefined array key 1 at /var/www/cloud.nextcloud.com/nextcloud/apps/dav/lib/BulkUpload/MultipartRequestParser.php#183

Now logs a more useful and explicit message allowing to find the actual issue:

Header missing `:` on bulk request: "".txt\r\n""

so we can reach out to the desktop client team

Checklist

@nickvergessen nickvergessen added this to the Nextcloud 29 milestone Dec 4, 2023
@nickvergessen nickvergessen requested review from artonge and a team December 4, 2023 10:09
@nickvergessen nickvergessen self-assigned this Dec 4, 2023
@nickvergessen nickvergessen requested review from ArtificialOwl and icewind1991 and removed request for a team December 4, 2023 10:09
@nickvergessen
Copy link
Member Author

/backport to stable28

@nickvergessen nickvergessen force-pushed the bugfix/noid/improve-logging-of-bulk-failures branch from 8abd748 to ef0ebef Compare December 4, 2023 10:16
@kesselb
Copy link
Contributor

kesselb commented Dec 4, 2023

Thank you 👍

Added a link, to the issue I created some days ago.

Signed-off-by: Joas Schilling <coding@schilljs.com>
@AndyScherzinger AndyScherzinger force-pushed the bugfix/noid/improve-logging-of-bulk-failures branch from ef0ebef to e4460e3 Compare December 5, 2023 11:03
@nickvergessen nickvergessen merged commit 022577f into master Dec 5, 2023
48 of 50 checks passed
@nickvergessen nickvergessen deleted the bugfix/noid/improve-logging-of-bulk-failures branch December 5, 2023 14:09
@blizzz blizzz mentioned this pull request Mar 5, 2024
@joshtrichards joshtrichards mentioned this pull request Sep 16, 2024
2 tasks
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.

[Bug]: Undefined array key 1 at apps/dav/lib/BulkUpload/MultipartRequestParser.php#183
5 participants