From b6d1189f4d8da45ae25bdc16a3013e01683940cb Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 18 May 2021 22:46:11 +0200 Subject: [PATCH] Add necessary transOrigPointerField This is required by list module, As we define a languageField. Might be a bug, but BackendUtility::translationCount() will fail if 2nd field is missing. Fixed in current TYPO3 master and therefore with v11.3, see: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69180 --- Configuration/TCA/tx_tracking_pageview.php | 1 + Configuration/TCA/tx_tracking_recordview.php | 1 + 2 files changed, 2 insertions(+) diff --git a/Configuration/TCA/tx_tracking_pageview.php b/Configuration/TCA/tx_tracking_pageview.php index 474b4e1..89c39ae 100644 --- a/Configuration/TCA/tx_tracking_pageview.php +++ b/Configuration/TCA/tx_tracking_pageview.php @@ -10,6 +10,7 @@ return [ 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', + 'transOrigPointerField' => 'l10n_parent', 'title' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview', 'searchFields' => 'uid, url', 'iconfile' => 'EXT:tracking/Resources/Public/Icons/Record/Pageview.svg', diff --git a/Configuration/TCA/tx_tracking_recordview.php b/Configuration/TCA/tx_tracking_recordview.php index 0482ff5..98085c0 100644 --- a/Configuration/TCA/tx_tracking_recordview.php +++ b/Configuration/TCA/tx_tracking_recordview.php @@ -10,6 +10,7 @@ return [ 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', + 'transOrigPointerField' => 'l10n_parent', 'title' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.recordview', 'searchFields' => 'uid, url', 'iconfile' => 'EXT:tracking/Resources/Public/Icons/Record/Recordview.svg',