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

[TASK] Throw an exception if a BE user cannot be found in the DB #494

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

oliverklee
Copy link
Contributor

@oliverklee oliverklee commented Aug 25, 2023

This avoids passing null to a method that requires an array.

It also helps debugging tests that use an incorrect user UID for the session or that uses incorrect data in the DB.

This fix also is required to make more methods in GeneralUtility use native type declarations.

Releases: main

This avoids passing `null` to a method that requires an `array`.

It also helps debugging tests that use an incorrect user UID for the session
or that uses incorrect data in the DB.

This fix also is required to make more methods in `GeneralUtility` use
native type declarations.

Releases: main
@oliverklee oliverklee force-pushed the bugfix/exception-for-missing-user branch from 2dc4ae6 to 60bd6a5 Compare August 25, 2023 13:44
@oliverklee
Copy link
Contributor Author

oliverklee commented Aug 25, 2023

The Core tests with this PR are all green:
https://review.typo3.org/c/Packages/TYPO3.CMS/+/80693

@lolli42 lolli42 merged commit 4e28ed3 into TYPO3:main Aug 28, 2023
2 checks passed
@oliverklee oliverklee deleted the bugfix/exception-for-missing-user branch August 28, 2023 10:44
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.

2 participants