Project

General

Profile

Actions

Bug #39032

closed

TCE nested Flex-Fields are displayed, but not saved

Added by Gabriel Kaufmann / Typoworx NewMedia over 12 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-07-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I noticed that TCA Flex-Fields can be nested (TCA Flex-Field containing FlexForm with field of type "flex"...). Currently saving of such nested FlexForm-Values isn't working (or blocked).

Basically those fields would produce Values-XML containing also nested XML of Values. I think this doesn't make sense. I think it would be much more reliable to have an additional DB-Table that holds these Fields as FlexValue-Storage:

uid,ref_table,ref_uid,flex_values

So each FlexForm that isn't using the "parent-level" right in a real database (TCA Flex-Field) should be triggered to save it's values into this table using the parent-table and parent-uid (current table holding the flex-field) as reference.

Loading of such fields should load these contents using the reference.

Currently saving such FlexForms will throw no error, but loose the values. In some cases these nested FlexForms are very useful to display complex database structures in combination with EXT:dynaflex f.e.

Actions

Also available in: Atom PDF