Project

General

Profile

Actions

Bug #20344

closed

IRRE doesn't work in relationship with flexforms

Added by Stefan Galinski over 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-04-22
Due date:
% Done:

0%

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

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)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #18957: Flexforms & IRRE doesn't workClosedKai Vogel2008-06-14

Actions
Actions #1

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>

Actions #2

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

Actions #4

Updated by Steffen Gebert over 14 years ago

closed as duplicate #18957 at stefan's desire

Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF