Bug #91839

IRRE add relation button not working

Added by Nicole Cordes 4 months ago. Updated 3 months 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

#1

Updated by Gerrit Code Review 4 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65070

#2

Updated by Gerrit Code Review 4 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65070

#4

Updated by Christian Kuhn 4 months ago

Reproducible with ext:styleguide inline usecombination ... the "Create new relation" button.

#5

Updated by Gerrit Code Review 4 months ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65030

#6

Updated by Nicole Cordes 4 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF