Bug #93276
openpagetsconfig not transferred to translation target
0%
Description
The field values of TSconfig and tsconfig_includes in the table pages are not transferred to the translation target when translating a page using a non-admin editor. The values added in the default language are not available in the frontend language overlay
This is problematic in scenarios where the pagetsconfig is used in the frontend:
For example ext:gridelements uses the gridelement_backend_layout, which is defined in pagetsconfig, to render child elements. On translated pages that miss the pagetsconfig the child elements are not rendered.
Steps to reproduce
- Multi language TYPO3 Installation
- Languages are configured via Siteconfiguration with strict mode
Create a page, add TSconfig and tsconfig_includes for example:
TSConfig
TCEFORM.pages.rowDescription.disabled = 1
tsconfig_includes:
EXT:myext/Configuration/TSConfig/Page/Page.typoscript
Result: The database fields TSconfig and tsconfig_includes contain the expected values.
Scenario 1 :
Translate the page with an administrator account.
Expected Result: The database fields TSconfig and tsconfig_includes contain the same values as the translation source page
Result: as expected.
Scenario 2 :
Translate the page with an editor account:
Expected Result: The database fields TSconfig and tsconfig_includes contain the same values as the translation source page
Result: The database fields TSconfig and tsconfig_includes are empty/null
The bug appears in scenario 2.
The fields TSconfig and tsconfig_includes are configured as admin-only with
displayCond' => 'HIDE_FOR_NON_ADMINS',
in typo3/sysext/core/Configuration/TCA/pages.php
But they should at least be configured in a way that will still copy the values to the translation target.
Files
Updated by Philipp Idler over 3 years ago
I confirm this bug for TYPO3 9.5.24. HIDE_FOR_NON_ADMINS was introduced for TYPO3 8.7 as well, see https://git.higidi.com/TYPO3/TYPO3.CMS/-/commit/75cc3d6bfedf70c2120ef8c6f6dd104e905c1569