Project

General

Profile

Actions

Bug #43242

closed

The "foreign_selector" in IRRE fields does not work with foreign group field

Added by Kai Vogel almost 12 years ago. Updated over 4 years ago.

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',
);


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #22643: Symmetric biderectional records, does not work with type=groupClosed2010-05-13

Actions
Related to TYPO3 Core - Bug #17255: Combined mode doesn't work with type 'group'Closed2007-04-27

Actions
Actions #1

Updated by Mathias Schreiber almost 10 years ago

  • Target version changed from 6.0.0-RC2 to 7.5
  • Is Regression set to No
Actions #2

Updated by Benni Mack about 9 years ago

  • Target version deleted (7.5)
Actions #3

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

Also available in: Atom PDF