From c61dddfb1d980fe593430221eb6afc8fb82b3f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Mon, 26 Oct 2026 13:00:17 +0100 Subject: [PATCH] chore: travel dates are no longer translatable Dates are written by the import only and are never translated (all rows are in the default language). Like the matchcodes, the table loses languageField, transOrigPointerField, transOrigDiffSourceField, its language columns and the Language tab in TCA; the database columns stay until the schema clean-up. Checked locally: frontend crawl (~1,900 URLs incl. the English pages) and the backchannel APIs render the same as before, the editor check creates records in all other tables. Co-Authored-By: Claude Opus 5.5 --- .../TCA/tx_epproducts_domain_model_date.php | 31 +------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/packages/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php b/packages/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php index 6f823af..401ae27 100644 --- a/packages/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php +++ b/packages/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php @@ -14,9 +14,6 @@ return [ 'dividers2tabs' => true, 'versioningWS' => false, 'hideTable' => true, - 'languageField' => 'sys_language_uid', - 'transOrigPointerField' => 'l10n_parent', - 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => [ 'disabled' => 'hidden', @@ -30,39 +27,13 @@ return [ '1' => ['showitem' => 'hidden, bus_pro_id, hotel_bus_pro_id, code, daytrip, date_start, date_end, nights, board, board_code, board_bus_pro_id, bus_included, bus_available, skipass_included, group_travel, services_included, services_general, courses_included, guide, pickups, discount, min_price, pseudo_price, available, min_pax, - new, - --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language, sys_language_uid, l10n_parent' + new' ], ], 'palettes' => [ '1' => ['showitem' => ''], ], 'columns' => [ - 'sys_language_uid' => [ - 'exclude' => false, - 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language', - 'config' => ['type' => 'language', 'default' => 0], - ], - 'l10n_parent' => [ - 'displayCond' => 'FIELD:sys_language_uid:>:0', - 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent', - 'config' => [ - 'type' => 'select', - 'default' => 0, - 'renderType' => 'selectSingle', - 'items' => [ - ['label' => '', 'value' => 0], - ], - 'foreign_table' => 'tx_epproducts_domain_model_date', - 'foreign_table_where' => 'AND tx_epproducts_domain_model_date.pid=###CURRENT_PID### AND tx_epproducts_domain_model_date.sys_language_uid IN (-1,0)', - ], - ], - 'l10n_diffsource' => [ - 'config' => [ - 'type' => 'passthrough', - ], - ], - 't3ver_label' => [ 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel', 'config' => [