fix: editors can create facts and lineup items again
New facts failed with "Field 'keywords' doesn't have a default value": the column is TEXT NOT NULL without a database default and not part of the form. It now gets a TCA default, like the passthrough text columns of dates that are not in the form either. Lineup items are inline children of the lineup content element on standard pages. TYPO3 10 allowed the table there with allowTableOnStandardPages(); the migration to ctrl.security.ignorePageTypeRestriction only covered the slides, so adding a lineup item failed with "Attempt to insert record on pages:... where table is not allowed". Checked locally as an editor: a new record of every table of ep_products and ep_theme goes through FormEngine and DataHandler (dates excepted: hidden, written by the import only). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
99cd3c1898
commit
7d3b6faf6c
3 files changed
+14
-1
No files matched your search
@@ -142,48 +142,56 @@ return [
|
||||
'exclude' => true,
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'product_teaser' => [
|
||||
'exclude' => true,
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'concept_popup_text' => [
|
||||
'exclude' => true,
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'country_keywords' => [
|
||||
'exclude' => true,
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'region_keywords' => [
|
||||
'exclude' => true,
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'city_keywords' => [
|
||||
'exclude' => true,
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'hotel_keywords' => [
|
||||
'exclude' => true,
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'hotel_teaser' => [
|
||||
'exclude' => true,
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
'default' => '',
|
||||
],
|
||||
],
|
||||
'bus_pro_id' => [
|
||||
|
||||
@@ -127,7 +127,9 @@ return [
|
||||
'type' => 'text',
|
||||
'cols' => 40,
|
||||
'rows' => 15,
|
||||
'eval' => 'trim'
|
||||
'eval' => 'trim',
|
||||
// Not in the form; the column is TEXT NOT NULL without a database default
|
||||
'default' => '',
|
||||
]
|
||||
],
|
||||
|
||||
|
||||
@@ -12,6 +12,9 @@ return [
|
||||
'tstamp' => 'tstamp',
|
||||
'crdate' => 'crdate',
|
||||
'dividers2tabs' => true,
|
||||
// Lineup items are inline children of the lineup content element on standard pages
|
||||
// (allowTableOnStandardPages() in TYPO3 10)
|
||||
'security' => ['ignorePageTypeRestriction' => true],
|
||||
'versioningWS' => true,
|
||||
'hideTable' => true,
|
||||
'languageField' => 'sys_language_uid',
|
||||
|
||||
Reference in new issue
Block a user