Project

General

Profile

Bug #79156

Updated by Frans Saris over 7 years ago

When you don't define a field in @pages_language_overlay@ because the field is defined as @l10n_mode = exclude@ in @pages@ the @PageRepository::shouldFieldBeOverlaid()@ wrongly sees the field as being overlayed. 

 All methods calling @PageRepository::shouldFieldBeOverlaid()@ respect @$GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']@ already before calling it except @PageRepository::getFileReferences()@ where it now goes wrong when fetching files for the field of a translated page. 

 _Example ts to test:_ 
 <pre> 
 page.111 = FILES 
 page.111 { 
     references { 
         table = pages 
         fieldName = my_custom_field 
     } 

     renderObj = IMAGE 
     renderObj { 
         file.import.data = file:current:uid 
         file.treatIdAsReference = 1 
         altText.data = file:current:title 
         wrap = <li>|</li> 
     } 

     stdWrap.wrap = <ul>|</ul> 
 }

Back