Bug #39032
closedTCE nested Flex-Fields are displayed, but not saved
0%
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.