Closed brotkrueml closed 1 year ago
When opening a site configuration in TYPO3 v12.3 the following error is displayed:
Item 0 of field matomoIntegrationTagManagerDebugMode of TCA table site has no label
Additionally, the "matomoIntegrationOptions" field only displays empty labels. When saving all selections are removed.
The site configuration is opened correctly and no error is displayed. The options are not removed upon saving.
Open a site configuration in the Sites backend module.
Maybe related to this change: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.3/Feature-99739-AssociativeArrayKeysForTCAItems.html
A workaround to be compatible with TYPO3 v11 and v12 is:
'items' => [[ 0 => '', 1 => '', + 'label' => '', + 'value' => '', ]],
in Configuration/SiteConfiguration/Overrides/sites.php
This PR migrates the TCA also in site configuration: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78333
Current behavior
When opening a site configuration in TYPO3 v12.3 the following error is displayed:
Additionally, the "matomoIntegrationOptions" field only displays empty labels. When saving all selections are removed.
Expected behavior/output
The site configuration is opened correctly and no error is displayed. The options are not removed upon saving.
Steps to reproduce
Open a site configuration in the Sites backend module.
Environment
Possible Solution
Maybe related to this change: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.3/Feature-99739-AssociativeArrayKeysForTCAItems.html
A workaround to be compatible with TYPO3 v11 and v12 is:
in Configuration/SiteConfiguration/Overrides/sites.php