Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

TCA misconfiguration in table "pages_language_overlay" missing ds_pointerfield #412

Open
wolffc opened this issue Jun 4, 2019 · 1 comment

Comments

@wolffc
Copy link

wolffc commented Jun 4, 2019

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>'
                ],
@BenjaminBeck
Copy link

$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>';

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants