#100827RedirectStatus::getConflictingRedirects
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();Reviews 2
History 25
-
Gerrit Code Review pushed patch set 1 for main to change 78958 status
NewUnder Review 05/08/23, 07:36 -
Gerrit Code Review pushed patch set 2 for main to change 78958 05/13/23, 19:26
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 78985 05/15/23, 19:23
-
Lina Wolf commented and changed status
Under ReviewResolved done0 %100 % 05/15/23, 19:25 -
Benni Mack changed status
ResolvedClosed 07/09/24, 12:56
Applied in changeset commit:ba22241c389362f0304f0cf33becb59680f16425.