Actions
Bug #18443
closedProblems with nested childrecords
Start date:
2008-03-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Warning: array_unique() [function.array-unique]: The argument should be an array in .\t3lib\class.t3lib_tceforms_inline.php on line 1831
I have to nested tables with a IRRE child:
$TCA['tt_news'] = Array (
...
'tx_ppaddfields_beitraege' => array (
'exclude' => 1,
'label' => 'beitraege',
'config' => array (
'type' => 'inline',
'foreign_table' => 'tx_pp_beitraege',
'maxitems' => 10,
'appearance' => Array(
'collapseAll' => 1,
'expandSingle' => 1,
'newRecordLinkAddTitle' => 1,
)
)
),
...
)
$TCA['tx_pp_beitraege'] = Array (
...
'infobox' => array (
'exclude' => 1,
'label' => 'infobox',
'config' => array (
'type' => 'inline',
'foreign_table' => 'tx_pp_infobox',
'maxitems' => 10,
'appearance' => Array(
'collapseAll' => 1,
'expandSingle' => 1,
'newRecordLinkAddTitle' => 1,
)
)
),
...
)
If I trie to make a new record tx_pp_infobox and save the nested record construct I run into the warning message.
(issue imported from #M7855)
Files
Actions