From 6828e49663dbcb2347d0f801d7d0564ab75b6f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 10 Sep 2026 10:42:25 +0200 Subject: [PATCH] fix: declare importer-written date columns as passthrough --- .../TCA/tx_epproducts_domain_model_date.php | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php index 06f516cf..e0cf9c35 100644 --- a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php +++ b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_date.php @@ -144,6 +144,57 @@ return [ 'type' => 'passthrough', ], ], + // Denormalized columns written by DateImportService, which rebuilds this table + // wholesale. They are TEXT NOT NULL, and MySQL cannot default that, so without a + // TCA entry DataHandler omits them and every INSERT fails under STRICT_TRANS_TABLES. + 'product_keywords' => [ + 'exclude' => true, + 'config' => [ + 'type' => 'passthrough', + ], + ], + 'product_teaser' => [ + 'exclude' => true, + 'config' => [ + 'type' => 'passthrough', + ], + ], + 'concept_popup_text' => [ + 'exclude' => true, + 'config' => [ + 'type' => 'passthrough', + ], + ], + 'country_keywords' => [ + 'exclude' => true, + 'config' => [ + 'type' => 'passthrough', + ], + ], + 'region_keywords' => [ + 'exclude' => true, + 'config' => [ + 'type' => 'passthrough', + ], + ], + 'city_keywords' => [ + 'exclude' => true, + 'config' => [ + 'type' => 'passthrough', + ], + ], + 'hotel_keywords' => [ + 'exclude' => true, + 'config' => [ + 'type' => 'passthrough', + ], + ], + 'hotel_teaser' => [ + 'exclude' => true, + 'config' => [ + 'type' => 'passthrough', + ], + ], 'bus_pro_id' => [ 'exclude' => false, 'label' => 'BusPro ID',