Bug #87747
closed"Allowed file extensions" always added below new inline relation button
100%
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'
.
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Christian Eßl over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset dce3eade1e6987b750ccf40a878f15fbb2df0e4e.