[BUGFIX] TCA for extension manager extension incomplete
authorSusanne Moog <typo3@susannemoog.de>
Sat, 1 Sep 2012 21:13:22 +0000 (23:13 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 1 Sep 2012 21:19:48 +0000 (23:19 +0200)
The TCA for the extension manager extension table
is missing the configuration for fields reviewState
and integerVersion. This results in extensions falsely
shown as insecure and in a missing update button.

Change-Id: I000fdb98a8f3a9542704ac5dfcfbd728b86c5a0d
Fixes: #40516
Releases: 6.0
Reviewed-on: http://review.typo3.org/14275
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extensionmanager/Configuration/TCA/Extension.php
typo3/sysext/extensionmanager/Resources/Private/Language/locallang_db.xml

index dd3e994..2cf4e86 100644 (file)
@@ -5,7 +5,7 @@ if (!defined('TYPO3_MODE')) {
 $TCA['tx_extensionmanager_domain_model_extension'] = array(
        'ctrl' => $TCA['tx_extensionmanager_domain_model_extension']['ctrl'],
        'interface' => array(
-               'showRecordFieldList' => 'extensionkey,version,title,description,state,category,lastupdated,updatecomment,authorname,authoremail,md5hash'
+               'showRecordFieldList' => 'extension_key,version,integer_version,title,description,state,category,last_updated,update_comment,author_name,author_email,md5hash'
        ),
        'columns' => array(
                'extension_key' => array(
@@ -24,6 +24,14 @@ $TCA['tx_extensionmanager_domain_model_extension'] = array(
                                'size' => '30'
                        )
                ),
+               'integer_version' => array(
+                       'exclude' => 0,
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.integerversion',
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => '30'
+                       )
+               ),
                'title' => array(
                        'exclude' => 0,
                        'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.title',
@@ -103,6 +111,14 @@ $TCA['tx_extensionmanager_domain_model_extension'] = array(
                                'size' => '1'
                        )
                ),
+               'review_state' => array(
+                       'exclude' => 0,
+                       'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.reviewstate',
+                       'config' => array(
+                               'type' => 'check',
+                               'size' => '1'
+                       )
+               ),
                'md5hash' => array(
                        'exclude' => 0,
                        'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xml:tx_extensionmanager_domain_model_extension.md5hash',
@@ -113,7 +129,7 @@ $TCA['tx_extensionmanager_domain_model_extension'] = array(
                ),
        ),
        'types' => array(
-               '0' => array('showitem' => 'extensionkey;;;;1-1-1, version, title;;;;2-2-2, description;;;;3-3-3, state, category, lastupdated, updatecomment, authorname, authoremail, md5hash')
+               '0' => array('showitem' => 'extensionkey;;;;1-1-1, version, integer_version, title;;;;2-2-2, description;;;;3-3-3, state, category, last_updated, update_comment, author_name, author_email, review_state, md5hash')
        ),
        'palettes' => array(
                '1' => array('showitem' => '')
index 42ec9bc..f3405d0 100644 (file)
@@ -18,6 +18,8 @@
                        <label index="tx_extensionmanager_domain_model_extension.authorname">Author Name</label>
                        <label index="tx_extensionmanager_domain_model_extension.authoremail">Author Email</label>
                        <label index="tx_extensionmanager_domain_model_extension.md5hash">Md5 hash</label>
+                       <label index="tx_extensionmanager_domain_model_extension.reviewstate">Review State</label>
+                       <label index="tx_extensionmanager_domain_model_extension.integerversion">Integer Version</label>
 
                        <label index="tx_extensionmanager_domain_model_repository">Repository</label>
                        <label index="tx_extensionmanager_domain_model_repository.title">Titel</label>