Do not resolve pid relation

TYPO3 would otherwise run into trouble.
TYPO3 expects pid to be an integer or string.
Resolving pid due to a configured pid column via select or groups,
would result in an php array.
This commit is contained in:
Daniel Siepmann 2020-04-22 18:43:46 +02:00
parent 5fc0b60131
commit 1a5c10a26d

View file

@ -22,10 +22,10 @@ return [
'pid' => [
'label' => 'LLL:EXT:tracking/Resources/Private/Language/locallang_tca.xlf:table.pageview.pid',
'config' => [
'type' => 'select',
// TODO: TYPO3 v10 does no longer allow to resolve PID relations, e.g. via select or group
// This will break internal PID handling.
'type' => 'input',
'readOnly' => true,
'renderType' => 'selectSingle',
'foreign_table' => 'pages',
],
],
'crdate' => [