Project

General

Profile

Actions

Bug #91839

closed

IRRE add relation button not working

Added by Nicole Cordes over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2020-07-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Given:

Some TCA adding a new IRRE field to any table:

    'translations' => [
        'exclude' => 1,
        'l10n_mode' => 'exclude',
        'label' => 'Translations',
        'config' => [
            'type' => 'inline',
            'foreign_table' => 'pages_translations',
            'foreign_field' => 'parentid',
            'foreign_sortby' => 'parentsort',
            'foreign_table_field' => 'parenttable',
            'foreign_selector' => 'language',
            'foreign_unique' => 'language',
            'foreign_label' => 'language',
            'maxitems' => 9999,
            'appearance' => [
                'collapseAll' => 1,
                'expandSingle' => 1,
                'newRecordLinkAddTitle' => 1,
                'newRecordLinkPosition' => 'top',
                'useCombination' => 0,
                'useSortable' => 0,
                'showPossibleLocalizationRecords' => 0,
                'showRemovedLocalizationRecords' => 0,
                'showAllLocalizationLink' => 0,
                'showSynchronizationLink' => 0,
                'enabledControls' => 'delete',
            ],
            'behaviour' => [
                'localizationMode' => 'keep',
                'localizeChildrenAtParentLocalization' => 0,
                'disableMovingChildrenWithParent' => 1,
            ],
        ],
    ],

Expectation:

The user should be able to add the first entry from the selectbox by click on the "add new relation" button

Current:

The button doesn't do anything.


Files

Actions

Also available in: Atom PDF