Project

General

Profile

Actions

Bug #99502

closed

Ensure proper return value in Uri\PageViewHelper

Added by Georg Ringer over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid
Start date:
2023-01-10
Due date:
% Done:

100%

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

Description

Creating a link to a non existing or hidden page leads to the exception

TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper::renderFrontendLinkWithCoreContext():
Return value must be of type string, null returned

when using inline syntax with no child node:

{f:uri.page(pageUid:123)}
Actions #1

Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted 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/+/77312

Actions #2

Updated by Georg Ringer over 1 year ago

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

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF