Bug #104612
closedError on form "Fieldset" without "fluidAdditionalAttributes"
100%
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.
Updated by Mathias Brodala 3 months ago
- Related to Bug #102291: Add fluidAdditionalAttributes to Fieldset elements added
Updated by Gerrit Code Review 3 months 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/+/85616
Updated by Gerrit Code Review 3 months 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/+/85616
Updated by Gerrit Code Review 3 months 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/+/85631
Updated by Mathias Brodala 3 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0083d46dd6a1aa8aada6c3eec9a51cd1f88da587.