Actions
Bug #95422
closedExtbase Request withoutAttribute('extbase') results in InvalidArgumentException
Start date:
2021-10-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Calling
function foo(\TYPO3\CMS\Mvc\Request $request) {
$request->withoutAttribute('extbase');
}
Fails with:
#1624452070 InvalidArgumentException Given request must have an attribute "extbase" of type ExtbaseAttribute in […]/typo3/sysext/extbase/Classes/Mvc/Request.php line 69 1624452071 ); } if (!$request->getAttribute('extbase') instanceof ExtbaseRequestParameters) { throw new \InvalidArgumentException( 'Given request must have an attribute "extbase" of type ExtbaseAttribute', 1624452070 ); }
Updated by Benjamin Franzke about 3 years ago
- Related to Feature #94428: Extbase Request implements ServerRequestInterface added
Updated by Gerrit Code Review about 3 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/c/Packages/TYPO3.CMS/+/71396
Updated by Gerrit Code Review about 3 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/c/Packages/TYPO3.CMS/+/71396
Updated by Benjamin Franzke about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 29876773ae796c815eb2eee89eb3d56df4f8583d.
Actions