Project

General

Profile

Actions

Bug #105367

open

Cast content of f:link.action to string

Added by Georg Ringer 8 days ago. Updated 6 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
Category:
Fluid
Target version:
-
Start date:
2024-10-20
Due date:
% Done:

0%

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

Description

using a code like this


    <f:for each="{1:'step1', 2:'step2', 3:'summary'}" as='i' iteration='iterator' key="k">
                <f:link.action action="{i}" arguments="{hash: step.hash}" class="item{k} btn btn-default">{k}</f:link.action>
      </f:for>

leads to an exception

TYPO3Fluid\Fluid\Core\ViewHelper\TagBuilder::setContent(): Argument #1 ($tagContent) must be of type ?string, int given, called in /var/www/html/vendor/typo3/cms-fluid/Classes/ViewHelpers/Link/ActionViewHelper.php on line 244

Actions

Also available in: Atom PDF