Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error handling in GetUsers #3357

Merged
merged 1 commit into from
Mar 22, 2022
Merged

Conversation

rhafer
Copy link
Contributor

@rhafer rhafer commented Mar 22, 2022

A missing return statement caused GetUsers to return missleading results
when the identity backend returned an error.

@rhafer rhafer requested a review from C0rby March 22, 2022 08:26
@update-docs
Copy link

update-docs bot commented Mar 22, 2022

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth a changelog or not so much? ;-) in any case, code looks good.

@rhafer
Copy link
Contributor Author

rhafer commented Mar 22, 2022

Worth a changelog or not so much? ;-) in any case, code looks good.

Good point. Added.

A missing return statement caused GetUsers to return misleading results
when the identity backend returned an error.
@ownclouders
Copy link
Contributor

💥 Acceptance test Core-API-Tests-ocis-storage-10 failed. Further test are cancelled...

@sonarcloud
Copy link

sonarcloud bot commented Mar 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@rhafer rhafer merged commit 0b96121 into owncloud:master Mar 22, 2022
ownclouders pushed a commit that referenced this pull request Mar 22, 2022
Merge: 1265fd6 3c16713
Author: Ralf Haferkamp <rhaferkamp@owncloud.com>
Date:   Tue Mar 22 13:39:08 2022 +0100

    Merge pull request #3357 from rhafer/graph-getuser-err

    Fix error handling in GetUsers
@micbar micbar mentioned this pull request Mar 29, 2022
22 tasks
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.

4 participants