Project

General

Profile

Actions

Bug #81749

closed

f:link.action renders invalid links if pageUid param is omitted

Added by Andreas Kienast almost 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Target version:
Start date:
2017-06-29
Due date:
% Done:

100%

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

Description

Due to #81213, the pageUid parameter in f:link.action is now always casted to an int. This leads to unwanted behaviour, as pageUid is 0 in such case, causing to break UriBuilder->uriFor() as the pageUid is checked for null. As null !== 0, the page uid is not determined correctly, causing typolink_URL to render empty strings.

This may be tested with EXT:indexed_search, the "Advanced search" link is broken and always links to the current page.
Side effect: submitting its form and clicking "Advanced search" then, exceptions occur.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #81213: Deprecate ViewHelper render() argument supportClosed2017-05-12

Actions
Actions

Also available in: Atom PDF