Project

General

Profile

Actions

Bug #14296

closed

BE upload field does not work when minitems=1

Added by Stanislas Rolland about 20 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2004-08-30
Due date:
% Done:

0%

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

Description

If one configures a field in the TCA with type=group, internal_type=file and minitems=1, the upload field displayed in the BE form does not work.
There is thus no way to enforce a minimum file requirement of 1.

(issue imported from #M320)


Related issues 2 (0 open2 closed)

Is duplicate of TYPO3 Core - Bug #14754: Setting file fields in TCA to "required" makes it impossible to save the recordClosedIngmar Schlecht2005-05-25

Actions
Has duplicate TYPO3 Core - Feature #14342: extension file-field error if 1 item is requiredClosedKarsten Dambekalns2004-09-29

Actions
Actions #1

Updated by Frank Agerholm about 19 years ago

same Problem with internal_type=db and minitems=1

Actions #2

Updated by David Bruchmann over 14 years ago

Due to the age of this bug I assume it can be closed.
Or can someone still reproduce this bug?

Actions #3

Updated by Kai Tallafus over 10 years ago

yes, I can still reproduce this bug in TYPO3 6.1.8

TCA:
'images' => array(
'exclude' => 0,
'label' => '...',
'config' => array(
'type' => 'group',
'internal_type' => 'file',
'uploadfolder' => 'uploads/tx_myext',
'show_thumbs' => 1,
'size' => 5,
'minitems' => 1,
'maxitems' => 9999,
'autoSizeMax' => 30,
'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
'disallowed' => '',
),
),

It works, if you select an allready uploaded file using the element browser, but if you want to upload the file directly, the validation fails.

Actions

Also available in: Atom PDF