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

Ingmar Schlecht ingmar at typo3.org
Fri Mar 5 23:30:59 CET 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1104.diff
Type: text/x-patch
Size: 2318 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100305/4eea0eda/attachment-0001.bin>


More information about the TYPO3-team-core mailing list