Issue Bug Closed

#76048IRRE: Child records - New record doesn't get language of parent (non localized records but using new button)

Andreas Allacher 05/04/16, 13:57 updated 10/02/18, 11:12

Description

Since 7.6 if one adds a new record to an existing record which is not in the default language, the newly created child record will not receive the language of the parent record.
This is not a problem if the record is localized BUT:
1.) There might not be a language parent to the main record – record only exists in selected language
2.) It might be possible to add additional child records to those of the parent record

The issue seems to be:
https://git.typo3.org/Packages/TYPO3.CMS.git/blob/HEAD:/typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php#l133

The commented out code here. Though I think with 7.6 we should move the code to a DataHandler.

I also don’t think it helps if one creates a new record, changes it language and adds a child record prior to saving, see related issue.

Reviews 4