Error when adding an inline element inside the FlexForm area of an inline element
It is not possible to add an element of type
inline inside an element of type
inline in the page view.
An "error 500" message is showing up. The logge error message is:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1446996319: Configuration retrieved from FlexForm is incomplete or not of type "inline". | UnexpectedValueException thrown in file /var/www/html/typo3_src-7.6.21-bi/typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php in line 912.
The same error occurs while trying to expand a collapsed inline element inside an other inline element.
The error is only present in the page view. If I edit the "upper" inline element in list view, there is no error.
More detailed description to reproduce the error:
There is a plugin where I can add elements of type "inline" (in backend). These elements are the parent elements and contain a FlexForm definition. In that FlexForm area I can add some child elements (also of type "inline").
So when I edit my plugin and add some parent element and I try to add a child element, the error occurs. If I save my plugin (with the added parent element) and change to the list view, I am able to edit the parent element directly and add a child element.
The error did not exists in TYPO3 6.2.
Updated by Sybille Peters almost 3 years ago
Thank you for your report.
Even though it has been some time, would you consider checking if your patch idea is still up to date and upload it to our Gerrit review server?
Someone could do this for you, but I am thinking you might like the opportunity to contribute to TYPO3 yourself.
You can find a description of the TYPO3 contribution workflow here: https://docs.typo3.org/typo3cms/ContributionWorkflowGuide/
Hint: If you get stuck anywhere, ask on Slack in the #typo3-cms-coredev channel. You can register in the TYPO3 slack workspace here: https://forger.typo3.com/slack
Thank you in advance!