-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug]: DAV Propfind: Undefined variable $response #42575
Comments
Duplicate of #11140 ? |
Hi everyone,
|
here is the response I send to propfind request:
Looks OK, but DAV client (lib/private/Files/Storage/DAV.php#305) reports undefined response |
If you experience this bug, please enable debug log level. There should be a log entry with debug level and |
Yes, same errored line |
Bug description
On NC 27.1.5, some code seems to be able to trigger an issue with DAV propfind:
Guessing from the periodicity in the logs this could be triggered by a background job and a federated share. The only federated shares I have run a NC 27.1.2 server on the other end.
I tried to understand the code on question (https://github.com/nextcloud/server/blob/master/lib/private/Files/Storage/DAV.php#L299) but I don't fully grasp it - there seem to be too many possibilities of reaching
return $response
without ever setting$response
- this might be my PHP ignorance though.This seems to be similar to #16808 but a different error condition.
Steps to reproduce
Expected behavior
No error in logs, or at least clear backttrace/logging of issue
Installation method
Community Manual installation with Archive
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: