Issue Bug Closed

#91293FlexForm with inline field leads to console error "this.container is null"

Alex Kellner 05/04/20, 15:41 updated 10/01/22, 14:03

Description

TYPO3 10.4.1

We have an own extension with a plugin and in this a FlexForm configuration where we can select some records.
Everything worked well with TYPO3 8.

Now, after updating, it’s not possible to see an inline record by clicking the “+ Create New” button in FlexForm.
The browser console leads to
“this.container is null”

Example FlexForm Configuration how to reproduce:

<T3DataStructure>
    <meta>
        <langDisable>1</langDisable>
    </meta>
    <sheets>
        <main>
            <ROOT>
                <TCEforms>
                    <sheetTitle>Test</sheetTitle>
                </TCEforms>
                <type>array</type>
                <el>
                    <settings.ce>
                        <TCEforms>
                            <label>Test</label>
                            <config>
                                <type>inline</type>
                                <foreign_table>tt_content</foreign_table>
                                <foreign_field>t3ver_oid</foreign_field>
                                <foreign_sortby>sorting</foreign_sortby>
                                <foreign_label>header</foreign_label>
                                <maxitems>1</maxitems>
                            </config>
                        </TCEforms>
                    </settings.ce>
                </el>
            </ROOT>
        </main>
    </sheets>
</T3DataStructure>

Note: We do not use tt_content and not the field t3ver_oid for building relations. That is just the testcase for you.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.