Project

General

Profile

Actions

Bug #76048

closed

Story #69712: Further FormEngine development

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

Added by Andreas Allacher over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
FormEngine aka TCEforms
Start date:
2016-05-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 9 (2 open7 closed)

Related to TYPO3 Core - Bug #63092: Inline/IRRE records: language field of child records is not updated when modifying parent language field - e.g. problematic for sys_file_referenceRejectedJo Hasenau2014-11-20

Actions
Related to TYPO3 Core - Bug #75040: placeholder pointing to column of related record shows values from wrong languageClosed2016-03-14

Actions
Related to TYPO3 Core - Bug #78897: file references consider wrong language uid for metadataClosed2016-12-06

Actions
Related to TYPO3 Core - Bug #73609: Creating IRRE child element without language of parent elementClosed2016-02-22

Actions
Related to TYPO3 Core - Bug #48883: Wrong sys_language_uid in sys_file_referenceClosed2013-06-05

Actions
Related to TYPO3 Core - Feature #60026: Set explicitly 'readOnly' sys_language_uid of child to value, taken from parent recordNew2014-07-01

Actions
Related to TYPO3 Core - Bug #76181: Languagefield-value of new inline relations is not in sync with the language of its parent elementClosed2016-05-13

Actions
Related to TYPO3 Core - Bug #82330: cant create inline records if ctrl > enablecolumns > endtime is not specified in childrens TCA Closed2017-09-07

Actions
Related to TYPO3 Core - Bug #101962: New records created on a field of type INLINE have the wrong sys_language_uid valueNew2024-03-14

Actions
Actions

Also available in: Atom PDF