[BUGFIX] Selection of Multiple Collections in CE Uploads
authorSteffen Ritter <info@rs-websystems.de>
Mon, 3 Sep 2012 08:11:32 +0000 (10:11 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Thu, 6 Sep 2012 13:27:28 +0000 (15:27 +0200)
Due to a missing TCA-definition it is not possible to
select more than one collection in a content element
of type "uploads".

With adding the missing TCA this works again.

Change-Id: I12907a15fa7efd4e30ff028ccc7aafa77919be8f
Fixes: #40545
Releases: 6.0
Reviewed-on: http://review.typo3.org/14299
Reviewed-by: Mario Rimann
Tested-by: Mario Rimann
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/cms/tbl_tt_content.php

index b8e30ed..e89f79f 100755 (executable)
@@ -1451,7 +1451,10 @@ $TCA['tt_content'] = array(
                        'config' => array(
                                'type' => 'group',
                                'internal_type' => 'db',
-                               'allowed' => 'sys_file_collection'
+                               'allowed' => 'sys_file_collection',
+                               'maxitems' => 999,
+                               'minitems' => 0,
+                               'size' => 5
                        )
                ),
                'multimedia' => array(