#105938File buttons are disappearing after deletion of file relation
Description
Since TYPO3 13.4.3 i have the following problem with media fields in IRRE elements:
When i delete an existing file relation, the buttons “Create new relation” / “Select & upload files” are disappearing. Because of that i cannot save the element, because its mandatory to have a file relation in this case.
After i rolled back to TYPO3 13.4.2 i did not experience this wrong behavior.
Reviews 5
- main 87773[TASK] Add more required file reference examples to EXT:styleguide
- 13.4 87802[TASK] Add more required file reference examples to EXT:styleguide
- main 87775[BUGFIX] Fix missing FormEngine file upload controls for maxitems=X
- 13.4 87776[BUGFIX] Fix missing FormEngine file upload controls for maxitems=X
- main 87435[BUGFIX] Restore "Create New" buttons for inline relations with min-/maxitems
Related issues 1
Files 2
History 79
-
Garvin Hicking commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2025-01-15T12:21:40+00:00" > 01/15/25, 12:21 </span> -
Garvin Hicking changed Related to #105808 <span data-processor="relativetime" data-value="2025-01-15T12:22:18+00:00" > 01/15/25, 12:22 </span>
-
Rudolf Rohaczek commented <span data-processor="relativetime" data-value="2025-01-15T12:30:52+00:00" > 01/15/25, 12:30 </span>
Garvin Hicking wrote in #note-1:
> This might be in relation to https://review.typo3.org/c/Packages/TYPO3.CMS/+/87435
>
> How is the TCA of that field defined? Are you using min/maxitems by chance?Yes, min and maxitems are used:
'image' => [ 'exclude' => true, 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.images', 'config' => [ 'type' => 'file', 'allowed' => ['jpg','jpeg','png','webp'], 'minitems' => 1, 'maxitems' => 1, ], ], 'media' => [ 'exclude' => true, 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:media', 'config' => [ 'type' => 'file', 'allowed' => ['mp4'], 'maxitems' => 1, ], ], -
Garvin Hicking commented and changed status
Needs FeedbackAccepted <span data-processor="relativetime" data-value="2025-01-15T12:40:29+00:00" > 01/15/25, 12:40 </span>I can confirm this behaviour. Created a patch with an EXT:styleguide example.
-
Garvin Hicking changed Is Regression 1 <span data-processor="relativetime" data-value="2025-01-15T12:42:20+00:00" > 01/15/25, 12:42 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 87775 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2025-01-16T08:01:41+00:00" > 01/16/25, 08:01 </span> -
Gerrit Code Review pushed patch set 1 for 13.4 to change 87776 <span data-processor="relativetime" data-value="2025-01-16T08:22:45+00:00" > 01/16/25, 08:22 </span>
-
Garvin Hicking commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-01-16T08:25:12+00:00" > 01/16/25, 08:25 </span>Applied in changeset commit:c9153da85d3f5182f5b6e463ed3a2a913894caff.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:26:43+00:00" > 12/02/25, 14:26 </span>
This might be in relation to https://review.typo3.org/c/Packages/TYPO3.CMS/+/87435
How is the TCA of that field defined? Are you using min/maxitems by chance?