Actions
Bug #71729
closedforeign_record_defaults stopped working inside columnsOverrides
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2015-11-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Till version 7.4.0 (at least) it was possible to set foreign_record_defaults per type in TCA using columnsOverrides:
'threecols' => array( 'columnsOverrides' => array( 'contents_irre' => array( 'config' => array( 'foreign_record_defaults' => array( 'CType' => 'threecols_item', ), ), ), )
After updating to 7.6.0 this stopped working, CType is not set in inline record.
Updated by Christian Kuhn about 9 years ago
- Status changed from New to Rejected
- % Done changed from 0 to 100
Yes. Do not rely on overriding inline child TCA with columnsOverrides. This may work later, but it is currently not a directly supported feature.
Updated by Rainer Becker about 9 years ago
Ok. Is there another way to predefine the type of new inline records?
In my case they are several content types with sub-records; CType "A" neeeds inline records of CType "A-sub", "B" needs "B-sub" and so on.
Since the subtype is defined by parent type I dont want to bother the editors with the selection of the proper CType.
Actions