Project

General

Profile

Actions

Bug #104612

closed

Error on form "Fieldset" without "fluidAdditionalAttributes"

Added by Mathias Brodala 3 days ago. Updated 2 days ago.

Status:
Resolved
Priority:
Must have
Category:
Form Framework
Target version:
Start date:
2024-08-13
Due date:
% Done:

100%

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

Description

Having a form using Fieldset elements without any fluidAdditionalAttributes fails with an error since TYPO3 12.4.18:

PHP Warning: foreach() argument must be of type array|object, string given in /.../vendor/typo3fluid/fluid/src/ViewHelpers/ForViewHelper.php line 135

This is caused by the change in #102291. The {formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')} part evaluates to an empty string which lets f:for fail since this is not traversable.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #102291: Add fluidAdditionalAttributes to Fieldset elementsResolved2023-10-30

Actions
Actions

Also available in: Atom PDF