stable

Clone or download

Read-only

fix(webdav): request #25321 WebDAV support broken at PROPFIND

Original implementation was relying on extend of Dav\Directory & File that supposed to be a wrapper for a filesystem exposed via WebDav. However in our case it's not an actuall filesystem but an abstraction so we should actually implement the interfaces instead of extending. This solves the issue raised in the request because: - we no longer implements IQuota so it won't trigger the issue - the code for the generic method were expecting a $path to be initialized but as 100% of our extends were not calling parent constructor the code was broken (issue visible with PHP 8.0 argument check for internal methods). Change-Id: I26b841c6927aed0813270bea651675c9ae2d2768

Modified Files

Name
M plugins/webdav/include/FS/WebDAVDocmanFile.class.php +9 −29 Go to diff View file
M plugins/webdav/include/FS/WebDAVDocmanFolder.class.php +8 −24 Go to diff View file
M plugins/webdav/include/FS/WebDAVFRS.class.php +27 −4 Go to diff View file
M plugins/webdav/include/FS/WebDAVFRSFile.class.php +8 −23 Go to diff View file
M plugins/webdav/include/FS/WebDAVFRSPackage.class.php +18 −1 Go to diff View file
M plugins/webdav/include/FS/WebDAVFRSRelease.class.php +18 −1 Go to diff View file
M plugins/webdav/include/FS/WebDAVProject.class.php +37 −26 Go to diff View file
M plugins/webdav/include/FS/WebDAVRoot.class.php +39 −44 Go to diff View file