Skip to content

[BUG] Action availability for file in shared folder: Unshare instead of Delete #1379

@felix-schwarz

Description

@felix-schwarz

Steps to reproduce

  1. Navigate to a shared folder
  2. Upload a file into the shared folder
  3. Tap ... next to the item

Expected behavior

The action Delete is shown.

Actual behavior

The action Delete is not shown. Instead, Unshare is shown, which is not really applicable here.

Client configuration

Version 12.3, but other releases should be similarly affected.

Server configuration

ocis, demo.owncloud.com

Cause

A bug in ocis (owncloud/ocis#9933, owncloud/ocis#8455) breaks the client's internal chain of item IDs, so items inside shared folders erroneously are seen as "root" shared items themselves, leading to side effects like the wrong actions being shown to the user. F.ex. Unshare (which of course fails) is shown, but Delete (which would work and be useful) is not.

Resolution

This problem should no longer occur as soon as owncloud/ocis#9933 is fixed.

This issue was filed to document the issue and its cause.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions