[BUGFIX] Finalize rowDescription for sys_file_collection 59/55959/2
authorJosef Glatz <josefglatz@gmail.com>
Wed, 28 Feb 2018 20:33:22 +0000 (21:33 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 1 Mar 2018 00:02:22 +0000 (01:02 +0100)
Add missing TCA configuration for descriptionColumn in
sys_file_collection records. The database column already
exists in ext_tables.sql.

Change-Id: I696e982145604114181240bef321683569187bcd
Resolves: #84093
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55959
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Configuration/TCA/sys_file_collection.php

index 21c3fd4..aaec487 100644 (file)
@@ -3,6 +3,7 @@ return [
     'ctrl' => [
         'title' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_file_collection',
         'label' => 'title',
+        'descriptionColumn' => 'description',
         'tstamp' => 'tstamp',
         'crdate' => 'crdate',
         'cruser_id' => 'cruser_id',
@@ -28,7 +29,7 @@ return [
         'searchFields' => 'files,title'
     ],
     'interface' => [
-        'showRecordFieldList' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,starttime,endtime,files,title'
+        'showRecordFieldList' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,starttime,endtime,files,title,description'
     ],
     'columns' => [
         't3ver_label' => [
@@ -187,6 +188,15 @@ return [
                 ],
                 'default' => 0,
             ]
+        ],
+        'description' => [
+            'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.description',
+            'config' => [
+                'type' => 'text',
+                'rows' => 5,
+                'cols' => 30,
+                'max' => 2000,
+            ]
         ]
     ],
     'types' => [
@@ -198,6 +208,8 @@ return [
                     --palette--;;language,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                     --palette--;;timeRestriction,
+                --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
+                    description,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
             '
         ],
@@ -209,6 +221,8 @@ return [
                     --palette--;;language,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                     --palette--;;timeRestriction,
+                --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
+                    description,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
             '
         ],
@@ -220,6 +234,8 @@ return [
                     --palette--;;language,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                     --palette--;;timeRestriction,
+                --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
+                    description,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
             '
         ],
@@ -231,6 +247,8 @@ return [
                     --palette--;;language,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                     --palette--;;timeRestriction,
+                --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
+                    description,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
             ',
         ],