Bug #91293

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

Added by Alex Kellner over 1 year ago. Updated about 1 year ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-05-04
Due date:
% Done:

0%

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

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.


Files

Also available in: Atom PDF