Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants