Project

General

Profile

Actions

Bug #100827

closed

RedirectStatus::getConflictingRedirects

Added by Lina Wolf over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling & Redirect Handling
Target version:
-
Start date:
2023-05-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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();
Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

Updated by Lina Wolf over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF