Project

General

Profile

Actions

Bug #98592

open

DataHandler: copy l10n-exclude fields even if excluded for current user

Added by Anonymous over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2022-10-12
Due date:
% Done:

0%

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

Description

prose

cite: https://typo3.slack.com/archives/C025BQLFA/p1629827725005900

step by step

Pre-requisites: TYPO3 installation with at least one additional language. e.g. default + EN

Then u need:

  • backend user with no admin rights. I name it 'editor'.
  • don't give this user rights to see `is_siteroot`

Now:

  • with an admin account: create a new page, name it "Atemberaubende Weltkugel" (uid:1), make it a root-page (check `is_siteroot`)

Then:

  • log in as 'editor'
  • visit page uid:1 in page module
  • click "translate page"
  • save page

what now happens

The translated page has `is_siteroot` set to `0` (it is the ext-tables.sql default value - see https://github.com/TYPO3/typo3/blob/v12.0.0/typo3/sysext/core/ext_tables.sql#L75).

what I expect

The translated page `is_siteroot` aligned with default-language. Because this reason: "'l10n_mode' => 'exclude'" (https://github.com/TYPO3/typo3/blob/v12.0.0/typo3/sysext/core/Configuration/TCA/pages.php#L718)


Files

Actions #1

Updated by Anonymous over 1 year ago

  • Description updated (diff)
Actions

Also available in: Atom PDF