Bug #105141
closedCalling f:link.action with non-existing page Uid causes Type error
100%
Description
<f:link.action action="show" controller="{controller}" extensionName="{extension}" pluginName="{plugin}" arguments="{person:person}" class="box-link" pageUid="1234567"/>
(page 1234567 does not exist) The same happens when the page exists but was hidden
causes error
(1/1) TypeError TYPO3\CMS\Fluid\ViewHelpers\Link\ActionViewHelper::renderWithExtbaseContext(): Return value must be of type string, null returned in /var/www/html/vendor/typo3/cms-fluid/Classes/ViewHelpers/Link/ActionViewHelper.php line 246
While calling
<f:link.action action="show" controller="{controller}" extensionName="{extension}" pluginName="{plugin}" arguments="{person:person}" class="box-link" pageUid="108"/>
(page 108 does exist works)
Updated by Gerrit Code Review 3 days 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/+/87032
Updated by Gerrit Code Review 2 days 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/+/87032
Updated by Gerrit Code Review 2 days ago
Patch set 1 for branch 13.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/+/87090
Updated by Gerrit Code Review 2 days 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/+/87091
Updated by Simon Praetorius 1 day ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 415fe0209b049ac2593b018ed1af929a12da9fa6.