Project

General

Profile

Actions

Bug #101801

open

TCA - columnsOverrides - type=file - allowed=... reserved strings are not resolved.

Added by Christian Hackl 9 months ago. Updated 3 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-08-30
Due date:
% Done:

0%

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

Description

The reserved strings "common-image-types", "common-text-types", "common-media-types" aren't resolved (are not replaced by e.g. $GLOBALS['TYPO3_CONF_VARS']['GFX'][...]) at the "columnsOverrides" section, see Example:

$GLOBALS['TCA']['tt_content']['types']['your_custom_type'] = [
        'showitem' => '
                    // ...
                    media,
                    // ...
            ',
        'columnsOverrides' => [
            'media' => [
                'config' => [
                    'allowed' => 'common-media-types',
                ],
            ],
        ],

https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/File/Properties/Allowed.html


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #98479: New TCA type "file"ClosedOliver Bartsch2022-09-30

Actions
Actions

Also available in: Atom PDF