Project

General

Profile

Bug #68623

Updated by Anja Leichsenring almost 9 years ago

During the refactoring of FormEngine a replacement error happend, that led to the codeline @$record['pid'] = $$inlineFirstPid;@ (mind the $$, @@, resulting in NULL for this variable). 

 The part of the code belongs to translation activity of pages and led to sys_file_reference records with pid 0. 

 How to reproduce:  
 * create a page and fill in at least one image into the media field. 
 * have at least one sys_language additionally to default language. 
 * translate the page, save the pages_language_overlay record. 
 * the images shown in the media field of the translated page record are independent from those in the default language record, they are shown and all seems well. 
 * check in the database -> the pid for the sys_file_reference records of the translated page record are all 0. 

 This seems to be no big deal, since the related child records are visible inside the parent record. But it might lead to missing records in list view and maybe access incidents for other TCA constructs, using the same approach (dedicated translation table, inline records). So better have it fixed. 

Back