#105141Calling f:link.action with non-existing page Uid causes Type error
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)
Reviews 3
History 26
-
Gerrit Code Review pushed patch set 1 for main to change 87032 status
NewUnder Review 11/18/24, 10:54 -
Gerrit Code Review pushed patch set 2 for main to change 87032 11/19/24, 17:48
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 87090 11/19/24, 18:11
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 87091 11/19/24, 18:11
-
Simon Praetorius commented and changed status
Under ReviewResolved done0 %100 % 11/19/24, 21:05 -
Benni Mack changed status
ResolvedClosed 12/02/25, 14:33
Applied in changeset commit:415fe0209b049ac2593b018ed1af929a12da9fa6.