fluidpages
fluidpages copied to clipboard
TCA misconfiguration in table "pages_language_overlay" missing ds_pointerfield
in TYPO3 8.7.26 and fluidpages 4.3.0
if " Enable translation of Page Configuration through the Pages Language Overlays" in extension Manager is enabled.
Page Records breakt with configured flexform breaks typo3 gives the following expection::
#1463826960: TCA misconfiguration in table "pages_language_overlay" field "tx_fed_page_flexform" config section: The field is configured as type="flex" and no "ds_pointerField" is defined and "ds" is not an array. Either configure a default data structure in ['ds']['default'] or add a "ds_pointerField" lookup mechanism that specifies the data structure (More information)
by a default DS into the language overlay i could fix this behavior.
'ds' => [
'default' => '<T3DataStructure><ROOT><el></el></ROOT></T3DataStructure>'
],
$GLOBALS['TCA']['pages_language_overlay']['columns']['tx_fed_page_flexform']['config']['ds']['default'] = '<T3DataStructure><ROOT><el></el></ROOT></T3DataStructure>';
$GLOBALS['TCA']['pages_language_overlay']['columns']['tx_fed_page_flexform_sub']['config']['ds']['default'] = '<T3DataStructure><ROOT><el></el></ROOT></T3DataStructure>';