-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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: Don't crash if disabled user is missing in the database #48207
Merged
artonge
merged 1 commit into
master
from
artonge/fix/prevent_missing_users_from_crashing_disabled_users_search
Sep 23, 2024
Merged
fix: Don't crash if disabled user is missing in the database #48207
artonge
merged 1 commit into
master
from
artonge/fix/prevent_missing_users_from_crashing_disabled_users_search
Sep 23, 2024
+68
−39
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
artonge
added
bug
3. to review
Waiting for reviews
feature: users and groups
php
Pull requests that update Php code
labels
Sep 19, 2024
/backport to stable30 |
/backport to stable29 |
/backport to stable28 |
come-nc
approved these changes
Sep 19, 2024
come-nc
requested changes
Sep 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, please throw a NoUserException and catch that, using try/catch for a typeerror is a bad idea.
artonge
force-pushed
the
artonge/fix/prevent_missing_users_from_crashing_disabled_users_search
branch
from
September 19, 2024 13:55
eaaad6a
to
5a951fa
Compare
Altahrim
approved these changes
Sep 19, 2024
come-nc
approved these changes
Sep 19, 2024
artonge
force-pushed
the
artonge/fix/prevent_missing_users_from_crashing_disabled_users_search
branch
2 times, most recently
from
September 20, 2024 09:11
88a9483
to
1fa3842
Compare
artonge
force-pushed
the
artonge/fix/prevent_missing_users_from_crashing_disabled_users_search
branch
from
September 20, 2024 09:26
cfb20c0
to
e0ed466
Compare
artonge
force-pushed
the
artonge/fix/prevent_missing_users_from_crashing_disabled_users_search
branch
7 times, most recently
from
September 20, 2024 14:48
c99c43a
to
78bfecb
Compare
Signed-off-by: Louis Chemineau <[email protected]>
artonge
force-pushed
the
artonge/fix/prevent_missing_users_from_crashing_disabled_users_search
branch
from
September 23, 2024 08:40
78bfecb
to
22d5d29
Compare
artonge
deleted the
artonge/fix/prevent_missing_users_from_crashing_disabled_users_search
branch
September 23, 2024 10:03
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3. to review
Waiting for reviews
bug
feature: users and groups
php
Pull requests that update Php code
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If the user is missing in the DB, then
getEMailAddress
will throw as user will benull
.