Issue Bug Closed

#109727FlexForm IRRE section using like`settings.section` breaks backend (undefined array key + accordion not working)

Vivek Solanki 04/29/26, 07:47 updated 08/11/26, 08:46

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

After saving the record:
  • 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