Project

General

Profile

Actions

Bug #87747

closed

"Allowed file extensions" always added below new inline relation button

Added by Georg Tiefenbrunn about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2019-02-20
Due date:
% Done:

100%

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

Description

Function TYPO3\CMS\Backend\Form\Container\InlineControlContainer::renderPossibleRecordsSelectorTypeGroupDB does not check if the mode is 'db' (internal_type='db') and always renders 'allowed' tables as "Allowed file extensions".

// IRRE field
        'relations' => [
            'config' => [
                'type' => 'inline',
                'foreign_table' => 'tx_foo_reference',
                'foreign_selector' => 'uid_local',
                ...
            ],
        ],

// foreign_selector definition in relation table tx_foo_reference
        'uid_local' => [
            'config' => [
                'type' => 'group',
                'internal_type' => 'db',
                'allowed' => 'sys_category,fe_users',
                ...
            ],
        ],

Renders "Allowed file extensions SYS_CATEGORY FE_USERS" below the new inline relation button.

Allowed file extensions should only be rendered for internal_type='file'.

Actions #1

Updated by Gerrit Code Review almost 5 years 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/+/60830

Actions #2

Updated by Gerrit Code Review almost 5 years ago

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

Actions #3

Updated by Gerrit Code Review almost 5 years ago

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

Actions #4

Updated by Christian Eßl almost 5 years ago

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

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF