[TASK] Name of file storage should be required
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 8 Oct 2012 06:41:52 +0000 (08:41 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 8 Oct 2012 15:09:25 +0000 (17:09 +0200)
The name of a file storage is currently not a required
field, this should be changed.

Change-Id: Ic10be69433e7012401a0122d2d4df08d8297219e
Resolves: #41664
Releases: 6.0
Reviewed-on: http://review.typo3.org/15388
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
t3lib/stddb/tca_sys_file_storage.php

index 0673943..ddbbb8b 100644 (file)
@@ -25,7 +25,8 @@ $TCA['sys_file_storage'] = array(
                        'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.name',
                        'config' => array(
                                'type' => 'input',
-                               'size' => '30'
+                               'size' => '30',
+                               'eval' => 'required'
                        )
                ),
                'description' => array(