[TYPO3-core] RFC #1104: Setting file fields in TCA to "required" makes it impossible to save the record

Oliver Hader oliver at typo3.org
Sat Mar 6 00:40:42 CET 2010


Hi Ingmar,

Am 05.03.10 23:30, schrieb Ingmar Schlecht:
> This is a SVN patch request.
> 
> Type: bugfix
> 
> Branches: trunk, 4.3, 4.2
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=1104
> 
> Problem:
> Setting file fields in TCA to "required" makes it impossible to save the
> record. (Or rather, setting minitems > 1, which is like required.)
> 
> Solution:
> Add the newly uploaded element to the count of total elements. This also
> makes maxitems work correctly for newly uploaded items.
> 
> regards
> - Tobi and Ingmar from Bugauction at T3DD10

I have one remark:
* $PA['fieldChangeFunc'] is an array, I think that all elements there
should be used in the onchange attribute

Besides that +1 by reading and testing

olly
-- 
Oliver Hader
TYPO3 v4 Core Team Leader


More information about the TYPO3-team-core mailing list