Bug #14296
closedBE upload field does not work when minitems=1
0%
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)
Updated by Frank Agerholm about 19 years ago
same Problem with internal_type=db and minitems=1
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?
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.