Issue Bug Closed

#106784TCA file disallowed definition breaks field upload

Alexander Grein 05/27/25, 14:35 updated 12/02/25, 13:59

Description

After updating TYPO3 from 13.4.11 to 13.4.12 it is not possible anymore to upload images eg. bootstrap_package accordion element (tx_bootstrappackage_accordion_item) using the upload button or by dragging an image into the drop area.

After trying to upload a jpeg-image with the extension “.jpg” this error appears:
Upload failed! The file extension must not be “mp3,wav,flac,opus”!

The list (mp3,wav,flac,opus) is defined in an array inside the TCA definition of the table tx_bootstrappackage_accordion_item:

'media' => [
            'exclude' => true,
            'label' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:accordion_item.media',
            'config' => [
                'type' => 'file',
                'allowed' => 'common-media-types',
                'disallowed' => ['mp3', 'wav', 'flac', 'opus'],
...

Reviews 2