Actions
Bug #43242
closedThe "foreign_selector" in IRRE fields does not work with foreign group field
Status:
Closed
Priority:
Must have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2012-11-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:
Description
When using the foreign_selector feature in an IRRE field (parent) and a group field (child), then the dialog appears, but without selectable contents (records).
Scenario:
Parent table configuration:
[...]['columns']['irreField']['config'] = array( 'type' => 'inline', 'foreign_table' => 'childTable', 'foreign_selector' => 'childSelector', );
Child table configuration:
[...]['columns'][childSelector']['config'] = array( 'type' => 'group', 'internal_type' => 'db', 'allowed' => 'childTable', );
Updated by Mathias Schreiber almost 10 years ago
- Target version changed from 6.0.0-RC2 to 7.5
- Is Regression set to No
Updated by Susanne Moog over 4 years ago
- Status changed from New to Closed
This actually works in latest versions (probably since the form engine rewrite a few years ago) with the following config
'inline_1' => [ 'exclude' => 1, 'label' => 'inline_1', 'config' => [ 'type' => 'inline', 'foreign_table' => 'tx_styleguide_inline_usecombination_mm', 'foreign_field' => 'select_parent', 'foreign_selector' => 'select_child', 'foreign_unique' => 'select_child', 'maxitems' => 9999, 'appearance' => [ 'newRecordLinkAddTitle' => 1, 'useCombination' => true, 'collapseAll' => false, 'levelLinksPosition' => 'top', 'showSynchronizationLink' => 1, 'showPossibleLocalizationRecords' => 1, 'showAllLocalizationLink' => 1, ], ], ], ... 'group_child' => [ 'label' => 'group child', 'config' => [ 'type' => 'group', 'internal_type' => 'db', 'allowed' => 'tx_styleguide_inline_usecombination_child', 'foreign_table' => 'tx_styleguide_inline_usecombination_child', 'size' => 1, 'minitems' => 1, 'maxitems' => 1, ], ],
Actions