Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented May 27, 2020

The code of getGroups was replaced by getGroupsChunks which was then removed itself.

For some reasons we did our pagination logic there on top, basically sabotaging propering pagination logic as we have it in the search methods in the Access class. And in a buggy way. In a case with over 500 groups, only 498 or so were reported. Because two invalid ones where discarded, the old code said: "oh, there is nothing more to fetch", as the received number was less than the requested number of items.

That was containing code back from 2012 that probably just was not updated so far – infamous bitrot.

pagination is taken care of properly in the search logic in Access class

Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz
Copy link
Member Author

blizzz commented May 27, 2020

/backport to stable19

@blizzz
Copy link
Member Author

blizzz commented May 27, 2020

/backport to stable18

@blizzz
Copy link
Member Author

blizzz commented May 27, 2020

/backport to stable17

@juliusknorr juliusknorr added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels May 27, 2020
@rullzer rullzer merged commit 778ef84 into master May 27, 2020
@rullzer rullzer deleted the fix/noid/fix-retrieval-of-groups branch May 27, 2020 17:36
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 feature: ldap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants