Skip to content

Unable to create or add a vault using a shortcut to My Drive from a folder in the Shared Drives location  #431

@SailReal

Description

@SailReal

Please agree to the following

Summary

Shortcuts from Shared Drives to My Drive are empty, so adding vaults from there fails and no new vaults can be created

System Setup

- Android: X
- Cryptomator: Y

Cloud Type

Google Drive

Steps to Reproduce

  1. On Google Drive, go to "Shared drives"
  2. Right-click on a non-empty folder and "Add shortcut to Drive"
  3. Select "My Drive"
  4. Open Cryptomator, try to add an existing vault or try to create a new vault

Expected Behavior

In case of

  • adding a vault: the vault is added
  • creating a vault: the vault is created

Actual Behavior

In case of

  • adding a vault: the shared folder is empty so the vault folder can not be selected
  • creating a vault: in the create vault dialog a "NotFound" error is shown after specifying the name and hitting "Create"

Reproducibility

Always

Relevant Log Output

No response

Anything else?

Adding

fileListQuery.includeItemsFromAllDrives = true
fileListQuery.supportsAllDrives = true

fixes the problem, see https://developers.google.com/drive/api/guides/enable-shareddrives for further information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions