nextcloud / files_lock

GNU Affero General Public License v3.0
25 stars 8 forks source link

with activated Temporary Files Lock app, there is no upload via shared link possible #71

Open laha83 opened 2 years ago

laha83 commented 2 years ago

It is not possible to upload a file via a shared upload link. deactivating the app solves the problem...

[webdav] Fatal: Error: Call to a member function getUID() on null at <<closure>>

 0. /var/www/html/custom_apps/files_lock/lib/DAV/LockBackend.php line 153
    OCA\FilesLock\Service\FileService->getFileFromUri("Quote_2022-05-10.pdf")
 1. /var/www/html/custom_apps/files_lock/lib/DAV/LockBackend.php line 75
    OCA\FilesLock\DAV\LockBackend->getFileFromUri("Quote_2022-05-10.pdf")
 2. /var/www/html/3rdparty/sabre/dav/lib/DAV/Locks/Plugin.php line 141
    OCA\FilesLock\DAV\LockBackend->getLocks("Quote_2022-05-10.pdf", false)
 3. /var/www/html/3rdparty/sabre/dav/lib/DAV/Locks/Plugin.php line 415
    Sabre\DAV\Locks\Plugin->getLocks("Quote_2022-05-10.pdf", false)
 4. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\Locks\Plugin->validateTokens("*** sensitive parameters replaced ***")
 5. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1448
    Sabre\DAV\Server->emit("validateTokens", ["*** sensitive  ... "])
 6. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 466
    Sabre\DAV\Server->checkPreconditions("*** sensitive parameter replaced ***", Sabre\HTTP\Response {})
 7. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod("*** sensitive parameter replaced ***", Sabre\HTTP\Response {})
 8. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
 9. /var/www/html/apps/dav/appinfo/v1/publicwebdav.php line 113
    Sabre\DAV\Server->exec()
10. /var/www/html/public.php line 80
    require_once("/var/www/html/a ... p")

PUT /public.php/webdav/Quote_2022-05-10.pdf
from 212.53.230.182 at 2022-05-12T09:33:08+00:00
danir-de commented 2 years ago

This should be this issue here: #69