Bug #28849
closed
Wrong check for "multiple" in TCEforms
Added by Björn Pedersen over 13 years ago.
Updated about 6 years ago.
Description
The change http://review.typo3.org/972
[BUGFIX] group field in TCEforms does not honor size=1 attribute
changed the way the check for multiple entrys is done. The check is wrong and breaks all dam media fields.
line 5580 in class.t3lib_tceforms.php should be changed to
isMultiple = (fObj.getAttribute("multiple") == null || fObj.getAttribute("multiple") == "multiple" ) && fObj.getAttribute("size") != "1";
Patch set 1 of change I429486d93574638db836d7874e473641fb6ec4a6 has been pushed to the review server.
It is available at http://review.typo3.org/4227
- Subject changed from Wrongh check for multiple in TCEforms to Wrong check for "multiple" in TCEforms
- Status changed from New to Under Review
How to check/reproduce:
install dam and any dam-enabled fields will only allow one upload.
Patch set 2 of change I429486d93574638db836d7874e473641fb6ec4a6 has been pushed to the review server.
It is available at http://review.typo3.org/4227
Sorry for insisting, but since I'm not that familiar with DAM; What are "DAM enabled fields"?
Dam enabled fields are media fields where dam records are used instead of images. The TCA is changed to type user and the input rendered by a user function in the extension.
Patch set 3 of change I429486d93574638db836d7874e473641fb6ec4a6 has been pushed to the review server.
It is available at http://review.typo3.org/4227
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF