Project

General

Profile

Actions

Bug #99502

closed

Ensure proper return value in Uri\PageViewHelper

Added by Georg Ringer almost 2 years ago. Updated almost 2 years 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

Also available in: Atom PDF