#109727FlexForm IRRE section using like`settings.section` breaks backend (undefined array key + accordion not working)
Description
When defining a FlexForm section using the key like `settings.section` with an IRRE-like container structure, TYPO3 v14 fails to handle the field correctly in the backend.
On the first attempt to add an item, the following warning occurs:
PHP Warning: Undefined array key "settings.section" in /var/www/html/vendor/typo3/cms-backend/Classes/Controller/FormFlexAjaxController.php line 94
- IRRE items can be added
- However, the accordion cannot be opened (toggle is not working)
If the field name is changed from `settings.section` to `section`, the behavior works as expected (proper accordion toggle).
This indicates that dot-notation keys (`settings.*`) are not properly resolved in FlexForm sections with IRRE containers in TYPO3 v14.
—-
Example FlexForm Configuration
xml
<T3DataStructure>
<sheets>
<sDEF>
<ROOT>
<sheetTitle>LLL:EXT:extension/Resources/Private/Language/locallang_flex.xlf:function</sheetTitle>
<type>array</type>
<el>
<settings.section>
<section>1</section>
<title>LLL:EXT:extension/Resources/Private/Language/locallang_flex.xlf:multiple.element</title>
<type>array</type>
<el>
<container>
<title>LLL:EXT:extension/Resources/Private/Language/locallang_flex.xlf:general.fields</title>
<type>array</type>
<el>
<title>
<label>LLL:EXT:extension/Resources/Private/Language/locallang_flex.xlf:general.title</label>
<config>
<type>input</type>
<size>30</size>
<eval>trim,required</eval>
</config>
</title>
</el>
</container>
</el>
</settings.section>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>Reviews 2
Related issues 2
History 79
-
Garvin Hicking changed category <span data-processor="relativetime" data-value="2026-04-29T08:56:51+00:00" > 04/29/26, 08:56 </span>
-
Christian Kuhn changed Related to #109267 <span data-processor="relativetime" data-value="2026-05-02T12:08:26+00:00" > 05/02/26, 12:08 </span>
-
Christian Kuhn commented <span data-processor="relativetime" data-value="2026-05-02T12:08:51+00:00" > 05/02/26, 12:08 </span>
-
Christian Kuhn commented <span data-processor="relativetime" data-value="2026-05-02T12:23:06+00:00" > 05/02/26, 12:23 </span>
I couldn’t replay the PHP warning but the expand/collapse issue.
I suggest we ignore the PHP warning for now – let’s handle this in a fresh issue if it still exists on your side, it may then need new how-to-reproduce information.
The expand/collapse issue: bootstrap reads data-bs-target as a CSS selector, a dot thus breaks the logic. The fix is to hash the section identifier as is done with other things already.
-
Gerrit Code Review pushed patch set 1 for main to change 93908 status
NewUnder Review <span data-processor="relativetime" data-value="2026-05-02T13:48:41+00:00" > 05/02/26, 13:48 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 93917 <span data-processor="relativetime" data-value="2026-05-02T17:10:34+00:00" > 05/02/26, 17:10 </span>
-
Christian Kuhn commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-05-02T17:35:08+00:00" > 05/02/26, 17:35 </span>Applied in changeset commit:cc93fea03d38909175aa21ee72f7c2f0d4b8783b.
-
Martina Kratky changed Related to #110192 <span data-processor="relativetime" data-value="2026-07-13T11:13:27+00:00" > 07/13/26, 11:13 </span>
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-08-11T08:46:58+00:00" > 08/11/26, 08:46 </span>
v14 regression.
git bisect says #109267