Project

General

Profile

Bug #98592

Updated by Anonymous over 1 year ago

h2. prose 

 !clipboard-202210121813-rbtgu.png! 

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

 h2. 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` 

 !clipboard-202210121801-p56zx.png! 

 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 

 h2. 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). value). 

 h2. 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)

Back