Actions
Bug #79104
closedAvatarViewHelper in History Module throws exception upon deleted BE user
Start date:
2016-12-29
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
While trying to render avatars for History entries, the BEuser responsible for the change is requested from database. In case it is not found, the queryBuilder returns false. There is no check for a valid BEuser record array to be passed to the Avatar::render() function, leading to:
Uncaught TYPO3 Exception Argument 1 passed to TYPO3\CMS\Backend\Backend\Avatar\Avatar::render() must be of the type array, boolean given, called in .../typo3/cms/typo3/sysext/backend/Classes/ViewHelpers/AvatarViewHelper.php on line 88 TypeError thrown in file .../typo3/cms/typo3/sysext/backend/Classes/Backend/Avatar/Avatar.php in line 51.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51058
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51058
Updated by Anja Leichsenring almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d9af09f8505341a79f3665681e9b4e0d4fc147dd.
Actions