Bug #20344
closedIRRE doesn't work in relationship with flexforms
0%
Description
You cannot add new elements inside IRRE enabled fields. Just try the flexform code below. You can also try to remove the wrapping sectionTest node.
<T3DataStructure>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>Test</sheetTitle>
</TCEforms>
<type>array</type>
<sectionTest>
<section>1</section>
<type>array</type>
<el>
<groups>
<TCEforms>
<label>Group</label>
<config>
<type>inline</type>
<foreign_table>sys_language</foreign_table>
</config>
</TCEforms>
</groups>
</el>
</sectionTest>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
(issue imported from #M10963)
Updated by Stefan Galinski over 15 years ago
IMPORTANT: Everybody should ignore this bug! It works like expected if it is used correctly! IMHO at least the "inline" keyword should maybe be ignored or handled in another way to prevent such mistakes.
In my case a simple further array type inside the inner section did the trick! Example:
<T3DataStructure>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>Test</sheetTitle>
</TCEforms>
<type>array</type>
<sectionTest>
<section>1</section>
<type>array</type>
<el>
<subSection>
<type>array</type>
<el>
<groups>
<TCEforms>
<label>Group</label>
<config>
<type>select</type>
<foreign_table>sys_language</foreign_table>
</config>
</TCEforms>
</groups>
</el>
</subSection>
</el>
</sectionTest>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
Updated by Kay Strobach about 15 years ago
i think the best would be to display the irre form as expected, but the data should be saved to an external record, so that only the id of the related record is stored within the flexform ...
I think this is the best solution for using irre (inline) in flexforms.
Best regards Kay
Updated by Björn Pedersen almost 15 years ago
related to http://bugs.typo3.org/view.php?id=8711 ?
Updated by Steffen Gebert over 14 years ago
closed as duplicate #18957 at stefan's desire