Skip to content

Conversation

@hrenard
Copy link
Contributor

@hrenard hrenard commented Jan 18, 2024

Summary

When there is no user in a group, and we add one, it's not added to the group cache. So consecutive call of addUser() and getUsers() is inconsistent. Furthermore, the user cache is never null, so this check is unesserary.

Checklist

@solracsf solracsf added the 3. to review Waiting for reviews label Jan 18, 2024
@solracsf solracsf added this to the Nextcloud 29 milestone Jan 18, 2024
@solracsf solracsf added the bug label Jan 18, 2024
@solracsf solracsf requested review from a team, Altahrim, ArtificialOwl and nfebe and removed request for a team January 18, 2024 12:45
@Altahrim Altahrim mentioned this pull request Mar 12, 2024
This was referenced Mar 14, 2024
@Altahrim Altahrim mentioned this pull request Mar 25, 2024
When there is no user in a group, and we add one, it's not added to the group cache. So consecutive call of addUser() and getUsers() is inconsistent.
Furthermore, the user cache is never null, so this check is unesserary.

Signed-off-by: Hugo Renard <hugo.renard@protonmail.com>
@Altahrim Altahrim added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 26, 2024
@Altahrim Altahrim merged commit 42f4e6a into nextcloud:master Mar 26, 2024
@welcome
Copy link

welcome bot commented Mar 26, 2024

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants