Actions
Bug #79057
closedTCA IRRE columnsOverrides "foreign_record_defaults" not applied on new element
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-12-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When creating a new IRRE child, the overriden default values are not applied.
Example tca:
'pagetab' => array ( 'exclude' => 0, 'label' => 'my field', 'config' => array ( 'type' => 'inline', 'foreign_table' => 'myforeigntable', 'foreign_field' => 'myforeignfield', 'foreign_record_defaults' => array( 'dtype' => 'mytestvalue', ), ), ),
Override:
$GLOBALS['TCA']['tt_content']['types']['mycustomcontentelement'] = array( 'columnsOverrides' => array( 'pagetab' => array( 'config' => array( 'foreign_record_defaults' => array( 'dtype' => 'myothertestvalue', ), ), ), ),
When you click on the new child button the value "mytestvalue" were added. But the correct value should be "myothertestvalue".
Actions