Bug #91350

Updated by Riccardo De Contardi 8 months ago

 
 h3. Prerequisites 

 - TYPO3 10.4.2-dev 4.1.2-dev (latest master) 
 - two languages configured (in my case italian ( ID=0) and english (ID=1) 
 - a page with two columns, I used this backend layout config 

 <pre> 
 mod.web_layout.BackendLayouts { 
   exampleKey { 
     title = Example 
     icon = EXT:example_extension/Resources/Public/Images/BackendLayouts/default.gif 
     config { 
       backend_layout { 
         colCount = 1 
         rowCount = 2 
         rows { 
           1 { 
             columns { 
               1 { 
                 name = default 
                 colPos = 0 
               } 
             } 
           } 
           2 { 
             columns { 
               1 { 
                 name = bottom 
                 colPos = 1 
               } 
             } 
           } 
         } 
       } 
     } 
   } 
 } 
 </pre> 

 h3. Steps to reproduce 

 1) Create a page "Test" and translate it 
 2) Create a content element in default language, column 0 
 3) Create a content element in default language, column 1 
 4) *translate only the element in column 0 (translate mode)* 

 this is the result: 

 !cattura1.png! 

 5) Now, switch to "english" and "columns" view 

 h3. Results 

 A) it shows the warning 

 <pre> 
	
 Unused elements detected on this page 
 These elements don't belong to any of the available columns of this page. You should either delete them or move them to existing columns. We highlighted the problematic records for you. 
 </pre> 

 B) the element in default language is shown on a _second_ "default" column (?) 

 See attached image: 

 !cattura2.png! 


 h3. Additional considerations 

 - the issue occurs also with *free mode translation* 
 - the issue does not occur if all elements are translated

Back