Skip to content

File Drop not possible for Group Folders? #20199

@pionsys-mha

Description

@pionsys-mha

I am able to share a folder from a user via "Share link" and "File drop (upload only)".
Afterwards, the file drop is possible with and without password (I tried both approaches for two different folders).

Contrary, in case a share a folder from below a group folder via the same steps, the file drop fails. At the file drop web page, a notification about "could not upload filename" appears.

Within the log, the following error appears:

[public] Error: Error: Call to a member function getType() on boolean at <>

  1. <>
    OCA\DAV\Connector\Sabre\ServerFactory->OCA\DAV\Connector\Sabre{closure}("*** sensitive parameters replaced ***")
  2. /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
    call_user_func_array(Closure {}, ["*** sensitive ... "])
  3. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 466
    Sabre\Event\EventEmitter->emit("beforeMethod", ["*** sensitive ... "])
  4. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 254
    Sabre\DAV\Server->invokeMethod("*** sensitive parameter replaced ", " sensitive parameter replaced ***")
  5. /var/www/nextcloud/apps/dav/appinfo/v1/publicwebdav.php line 109
    Sabre\DAV\Server->exec()
  6. /var/www/nextcloud/public.php line 81
    require_once("/var/www/nextcl ... p")

PUT /public.php/webdav/Super%20Test.txt

Steps to reproduce

See above.

Expected behaviour

I think that the file drop should work with folders below a group folder like it works with folders below a user folder.

Actual behaviour

The file drop seems to work only with folders below a user folder.

Server configuration

Operating system:
Ubuntu V 18.04.4

Nextcloud version: (see Nextcloud admin page)
V 18.0.3

Updated from an older Nextcloud/ownCloud or fresh install:
fresh install of V 18.0.2 last week, this error was present also in V 18.0.2

Where did you install Nextcloud from:
www.hanssonit.se

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions