Bug #81749
closedf:link.action renders invalid links if pageUid param is omitted
100%
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.
Updated by Andreas Kienast over 7 years ago
- Related to Task #81213: Deprecate ViewHelper render() argument support added
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53359
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53359
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53359
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53359
Updated by Andreas Fernandez over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 36696a353c080692e052fe6aa7bfc02fde1830ff.