Project

General

Profile

Actions

Bug #93276

open

pagetsconfig not transferred to translation target

Added by Thomas Rawiel over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-01-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

PHPMyadmin final result


Files

clipboard-202101121558-3uqba.png (144 KB) clipboard-202101121558-3uqba.png PHPMyadmin final result Thomas Rawiel, 2021-01-12 14:58
Actions #1

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

Actions

Also available in: Atom PDF