Uh oh!
There was an error while loading. Please reload this page.
fix: promote re-shares when deleting the parent share - #47425
Conversation
88e1618 to
941934aCompareUh oh!
There was an error while loading. Please reload this page.
come-nc
commented
Aug 26, 2024
The failing tests are related. The test failing is testing this scenario:
It fails at the step in bold. If I reorder the transferring code and use The more I think about it the more it feels like it’s not the job of transfer-ownership to delete broken shares. |
come-nc
commented
Sep 5, 2024
After internal discussion, reshares should not be deleted when share is deleted but turned into direct shares instead. We should still be careful about what that means for transfer-ownership when incomming shares are not transfered. |
56e6eff to
1527836CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
susnux
commented
Sep 14, 2024
To make sure I understand this correct:
I think there was a discussion recently with @jancborchardt if this is expected behavior. |
come-nc
commented
Sep 15, 2024
Yes that is correct
Before deleting the share to B, A sees shares both to B and C in the UI. There is no visible distinction between the share and the reshare. |
7c3f054 to
f389c6fCompareSigned-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
… but promoted Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
ab967de to
e584e9bCompareSigned-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
come-nc
commented
Oct 17, 2024
I’m not sure if cypress failures can be related or not. Should be double check as sharing sidebar is on the failure screenshot. |
susnux
commented
Oct 17, 2024
Never saw that failing but is is 99,99% unrelated because what is tested is purely frontend behavior and unrelated to your changes |
luka-nextcloud
commented
Dec 3, 2024
@come-nc I think need to create backport PRs for 28, 29, 30. |
come-nc
commented
Dec 3, 2024
/backport to stable30 |
come-nc
commented
Dec 3, 2024
/backport to stable29 |
come-nc
commented
Dec 3, 2024
/backport to stable28 |
Summary
Same as #43025 but without the new command.
Catch share exception in transfer ownership and delete invalid sharesChecklist