Skip to content

Commit

Permalink
[BUGFIX] Provide default DS for pages_language_overlay (#399)
Browse files Browse the repository at this point in the history
Prevents the following Error in Backend:

#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)
  • Loading branch information
M-a-r-n-o authored and NamelessCoder committed Mar 4, 2019
1 parent 35d7207 commit 51f57de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Configuration/TCA/Overrides/pages_language_overlay.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@
'label' => 'LLL:EXT:fluidpages/Resources/Private/Language/locallang.xlf:pages.tx_fed_page_flexform',
'config' => [
'type' => 'flex',
'ds' => [
'default' => '<T3DataStructure><ROOT><el></el></ROOT></T3DataStructure>'
]
]
],
'tx_fed_page_flexform_sub' => [
'exclude' => 1,
'label' => 'LLL:EXT:fluidpages/Resources/Private/Language/locallang.xlf:pages.tx_fed_page_flexform_sub',
'config' => [
'type' => 'flex',
'ds' => [
'default' => '<T3DataStructure><ROOT><el></el></ROOT></T3DataStructure>'
]
]
],
]);
Expand Down

0 comments on commit 51f57de

Please sign in to comment.