#48883Wrong sys_language_uid in sys_file_reference
Description
I have a domain model, which has a property image, which is a FAL image.
When I create a new element in default language and add a FAL image to this element everything works fine.
If I localize the element the FAL ImageResource will be localized too.
But if I create a new element in non-default language (sys_language_uid = 1) the attached FAL image is not recognized by extbase.
I checked the sys_file_reference table and the entry for the attached FAL image has a sys_language_uid=0. Therefore extbase does not recognize the FAL image. If I change sys_language_uid to 1, which is the sys_language_uid of the parent object ist works.
I think when creating new inline FAL images, the system needs to respect the sys_language_uid of the parent Object.
Reviews 4
Related issues 8
- Bug #57063Parent language is not applied to new child records
- Bug #57272Extbase doesn't handle FAL translations correctly
- Bug #59734Translating a CE containing inline elements doesn't apply language to inline elements
- Bug #63092Inline/IRRE records: language field of child records is not updated when modifying parent language field - e.g. problematic for sys_file_reference
- Bug #75040placeholder pointing to column of related record shows values from wrong language
- Bug #76048IRRE: Child records - New record doesn't get language of parent (non localized records but using new button)
- Bug #82330cant create inline records if ctrl > enablecolumns > endtime is not specified in childrens TCA
- Bug #21964New child records created from a translated record have default language