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

Indirect shares can't be loaded for nested folders in spaces #7655

Closed
JammingBen opened this issue Sep 19, 2022 · 0 comments · Fixed by #8349
Closed

Indirect shares can't be loaded for nested folders in spaces #7655

JammingBen opened this issue Sep 19, 2022 · 0 comments · Fixed by #8349
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working

Comments

@JammingBen
Copy link
Collaborator

JammingBen commented Sep 19, 2022

Steps to reproduce

  1. Create the following folder structure in a space: level1/level2/somefile.txt
  2. Share level1 with some user
  3. Navigate into level2 -> Everything is fine: somefile.txt shows a share indicator, the sidebar reveals the indirect share
  4. Reload the page -> Share indicator is missing, console shows errors when loading the shares tree.

As described in #7638 (comment): This happens because we only pass the storageId of the current resource to loadSharesTree. However, we need the storageId of each parent resource.

Edit: The same error exists in the share jail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant