Repository navigation
fix(files_sharing): Make sure mount events are dispatched for share recipients - #64715
Conversation
b1b9455 to
f542914
Compare
|
/backport to stable34 |
|
/backport to stable35 |
1fab2bc to
3db8e5f
Compare
susnux
left a comment
There was a problem hiding this comment.
Looks good to me, but a second review of @salmart-dev or @icewind1991 would be good!
salmart-dev
left a comment
There was a problem hiding this comment.
Please add test assertions that cover that the lazy-loaded data is present if you keep the new class.
…pients Apps keep per-user data in sync with file access by listening to UserMountAddedEvent and UserMountRemovedEvent. When a share is created or deleted, these events should reach the recipient at the latest when the recipient next sets up their file system. Assisted-by: ClaudeCode:claude-opus-5.5 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3452131 to
07be8cd
Compare
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Robin Appelman <robin@icewind.nl>
07be8cd to
8c8b57c
Compare
|
woop woop |
|
This pull request has been automatically locked because it has been closed for more than 7 days. As we do not monitor merged or closed pull requests, we are locking this pull request to prevent further comments from getting lost in the noise. |
Summary
For user shares and group shares, creating a share should dispatch a UserMountAddedEvent for the recipient's share mount, and deleting it should dispatch a UserMountRemovedEvent. These tests only asks for this "at the latest when the recipient next loads their file system". Each case runs twice:
TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)