Bug #93276
closedpagetsconfig 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
Updated by Georg Ringer 12 days ago
- Related to Bug #96215: since v10 displayCond HIDE_FOR_NON_ADMINS ignores these fields in custom DataHandler calls even when bypassAccessCheckForRecords is enabled added
Updated by Georg Ringer 12 days ago
- Status changed from New to Rejected
I am closing this issue because 1st of all tsconfig is for the backend only and should be only check the default page. furthermore issue #96215 handles the problem with HIDE_FOR_NON_ADMINS
which hinders that content is copied when using editors