Project

General

Profile

Actions

Bug #105367

open

Cast content of f:link.action to string

Added by Georg Ringer 7 days ago. Updated 5 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 #1

Updated by Gerrit Code Review 7 days ago

  • Status changed from Accepted 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/+/86664

Actions #2

Updated by Gerrit Code Review 7 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/+/86664

Actions #3

Updated by Gerrit Code Review 5 days ago

Patch set 3 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/+/86664

Actions #4

Updated by Gerrit Code Review 5 days ago

Patch set 4 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/+/86664

Actions

Also available in: Atom PDF