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 3

History 58

  1. Garvin Hicking changed category priority Should have Must have 05/27/25, 15:09

  2. Benjamin Franzke commented 05/27/25, 15:11

    Broke with
    > 81807: [TASK] Remove jQuery from @typo3/backend/drag-uploader | https://review.typo3.org/c/Packages/TYPO3.CMS/+/81807

  3. Benjamin Franzke changed Related to #102415 05/27/25, 15:11

  4. Gerrit Code Review pushed patch set 1 for main to change 89572 status New Under Review 05/27/25, 15:13

  5. Gerrit Code Review pushed patch set 2 for main to change 89572 05/28/25, 08:12

  6. Gerrit Code Review pushed patch set 1 for 13.4 to change 89588 05/29/25, 09:25

  7. Benjamin Franzke commented and changed status Under Review Resolved done 0 % 100 % 05/29/25, 09:30

    Applied in changeset commit:5405193ca4a26c658a5fe8714379ceb0987a0a04.

  8. Benni Mack changed status Resolved Closed 12/02/25, 13:59