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

Moving shared folders into and out of each other loses share info #2851

Closed
schiessle opened this issue Dec 23, 2016 · 5 comments
Closed

Moving shared folders into and out of each other loses share info #2851

schiessle opened this issue Dec 23, 2016 · 5 comments
Labels
1. to develop Accepted and waiting to be taken care of bug feature: sharing

Comments

@schiessle
Copy link
Member

While testing a pull request I observed following behavior on master:

  1. user1 shares "folder1" with user2
  2. user2 shares his "folder2" with user3
  3. user2 moves "folder2" into "folder1"
  4. folder2 is still shared with user3 and the "shared from" information changes from user2 to user1 -> perfect!
  5. user2 moves "folder2" out of "folder1"
  6. "folder2" is no longer shared

First I thought this happens because we do a copy&delete which will result in a new file id because the file gets moved across storages. But then we should already lose the share at step 3. Seems that we have some magic to keep the file id and even change the "owner" if a share gets move into another share but not the other way around.

cc @rullzer @icewind1991

@wiswedel
Copy link
Contributor

I could just reproduce the issue on 16.0.1

@wiswedel wiswedel added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jun 12, 2019
@Klakla2
Copy link

Klakla2 commented Nov 9, 2019

Reproduced on 16.0.6 .

@Klakla2
Copy link

Klakla2 commented Nov 11, 2019

Is there a workaround for this?

@PVince81
Copy link
Member

still happening in NC 22.2.0.

@PVince81 PVince81 changed the title Moving shared folders Moving shared folders into and out of each other loses share info Nov 11, 2021
@PVince81
Copy link
Member

PVince81 commented Nov 3, 2022

should be fixed already through #30791

@PVince81 PVince81 closed this as completed Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug feature: sharing
Projects
None yet
Development

No branches or pull requests

6 participants