Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Sep 11, 2024

Summary

We need to make sure that we only add one source (unique!) once as a child, this is ensured by simply use a native Set.
Also we need to remove children on from folders when the files:node:deleted event is emitted.

Checklist

@susnux susnux added this to the Nextcloud 31 milestone Sep 11, 2024
@susnux susnux requested review from a team and artonge and removed request for a team September 11, 2024 18:17
@susnux susnux requested a review from skjnldsv as a code owner September 11, 2024 18:17
@susnux susnux requested review from skjnldsv and sorbaugh September 11, 2024 18:17
@susnux
Copy link
Contributor Author

susnux commented Sep 11, 2024

/backport to stable30

@susnux
Copy link
Contributor Author

susnux commented Sep 11, 2024

/backport to stable29

@susnux susnux requested a review from Pytal September 11, 2024 19:52
@skjnldsv skjnldsv force-pushed the fix/files-duplicated-nodes branch from 625a545 to e2ffa0a Compare September 14, 2024 19:17
* Resolves #47904

We need to make sure that we only add one source (unique!) once as a child,
this is ensured by simply use a native `Set`.
Also we need to remove children on from folders when the `files:node:deleted`
event is emitted.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the fix/files-duplicated-nodes branch from 1ac295f to f02bcf3 Compare September 20, 2024 09:09
@susnux
Copy link
Contributor Author

susnux commented Sep 20, 2024

/compile

Signed-off-by: nextcloud-command <[email protected]>
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

Successfully merging this pull request may close these issues.

"files:node:created" creates duplicate files in the list if the same file has been deleted before

5 participants