Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
felix-schwarz opened this issue Aug 29, 2024 · 0 comments

Comments

@felix-schwarz
Copy link
Contributor

felix-schwarz commented Aug 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant