Bug #100827
closedRedirectStatus::getConflictingRedirects
100%
Description
\TYPO3\CMS\Redirects\Report\Status\RedirectStatus::getConflictingRedirects expects $request to be a valid ServerRequestInterface. However it is called by RedirectStatus::getStatus() in which $request defaults to null even though it is of type ServerRequestInterface not ServerRequestInterface|null.
This causes type error when the $request is not set.
Tested with TYPO3 v12.4.0 and on current main branch by calling
$statusReport = GeneralUtility::makeInstance(Stati\Status::class);
$statusCollection = $statusReport->getSystemStatus();
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78958
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78958
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78985
Updated by Lina Wolf over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ba22241c389362f0304f0cf33becb59680f16425.