Skip to content

Conversation

@sretika
Copy link

@sretika sretika commented Jan 22, 2019

userManager->getAttributes() could be returning empty values, which will give no result when used for searching. This patch will simply drop empty values in the $attrs before using it for searching.

@rullzer rullzer requested a review from blizzz January 23, 2019 09:30
@rullzer rullzer added 3. to review Waiting for reviews feature: ldap labels Jan 23, 2019
@rullzer rullzer added this to the Nextcloud 16 milestone Jan 23, 2019
@violoncelloCH
Copy link
Member

DCO is failing because the commit is not signed-off
@sretika2 could you please sign your commit? - see https://github.com/nextcloud/server/blob/master/.github/CONTRIBUTING.md#sign-your-work
can be done with git commit --amend -s for the last commit and then git push -f to push the changed commit back to github...

userManager->getAttributes() could be returning empty values, which will give no result when used for searching. This patch will simply drop empty values in the $attrs before using it for searching.

Signed-off-by: Samuel Retika <[email protected]>
@sretika
Copy link
Author

sretika commented Jan 23, 2019

Sure thing. Done.

@blizzz
Copy link
Member

blizzz commented Jan 24, 2019

@MorrisJobke MorrisJobke mentioned this pull request Mar 4, 2019
45 tasks
@MorrisJobke MorrisJobke removed this from the Nextcloud 16 milestone Mar 6, 2019
@MorrisJobke MorrisJobke added this to the Nextcloud 17 milestone Mar 20, 2019
@MorrisJobke MorrisJobke mentioned this pull request Jul 15, 2019
28 tasks
@MorrisJobke
Copy link
Member

As there is no feedback since a while I will close this ticket. If this is still a problem please feel free to reopen and explain what is happening in detail. Maybe together with some debug logs with the variable values.

@MorrisJobke MorrisJobke removed this from the Nextcloud 17 milestone Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants