[BUGFIX] Fix deprecated TCA specification for select fields 89/43989/2
authorStanislas Rolland <typo3@sjbr.ca>
Sun, 11 Oct 2015 17:09:12 +0000 (13:09 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Sun, 11 Oct 2015 17:11:19 +0000 (19:11 +0200)
renderType should be specified for TYPO3 CMS 7

Resolves: #70592
Change-Id: Iae50ae46cc21c769349b579d615b639f88746615
Reviewed-on: http://review.typo3.org/43989
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
ChangeLog
Configuration/TCA/Overrides/sys_language.php
Configuration/TCA/static_countries.php
Configuration/TCA/static_territories.php

index 2895ee2..ccf8fbd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-10-09  Stanislas Rolland  <typo3@sjbr.ca>
 
+       * Resolves #70592: Fix deprecated TCA specification for select fields
+
+2015-10-09  Stanislas Rolland  <typo3@sjbr.ca>
+
        * Resolves #70541: Warning: Ambiguous class resolution, because of two ext_update definitions
        * Update version to 6.3.1       
 
index 9a53ebb..332b814 100644 (file)
@@ -8,13 +8,14 @@ $GLOBALS['TCA']['sys_language']['columns']['static_lang_isocode'] = array(
        'displayCond' => 'EXT:static_info_tables:LOADED:true',
        'config' => array(
                'type' => 'select',
+               'renderType' => 'selectSingle',
+               'noIconsBelowSelect' => 1,
                'items' => array(
                        array('', 0)
                ),
                'foreign_table' => 'static_languages',
                'foreign_table_where' => 'AND static_languages.pid=0 ORDER BY static_languages.lg_name_en',
                'itemsProcFunc' => 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\FormDataProvider\\TcaSelectItemsProcessor->translateLanguagesSelector',
-               'noIconsBelowSelect' => 1,
                'size' => 1,
                'minitems' => 0,
                'maxitems' => 1,
index 8680eae..39712ae 100644 (file)
@@ -65,13 +65,14 @@ return array(
                        'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_parent_territory_uid',
                        'config' => array(
                                'type' => 'select',
+                               'renderType' => 'selectSingle',
+                               'noIconsBelowSelect' => 1,
                                'items' => array(
                                        array('', 0),
                                ),
                                'foreign_table' => 'static_territories',
                                'foreign_table_where' => 'ORDER BY static_territories.tr_name_en',
                                'itemsProcFunc' => 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\FormDataProvider\\TcaSelectItemsProcessor->translateTerritoriesSelector',
-                               'noIconsBelowSelect' => 1,
                                'size' => 1,
                                'minitems' => 0,
                                'maxitems' => 1,
@@ -134,13 +135,14 @@ return array(
                        'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_currency_uid',
                        'config' => array(
                                'type' => 'select',
+                               'renderType' => 'selectSingle',
+                               'noIconsBelowSelect' => 1,
                                'items' => array(
                                        array('', 0),
                                ),
                                'foreign_table' => 'static_currencies',
                                'foreign_table_where' => 'ORDER BY static_currencies.cu_name_en',
                                'itemsProcFunc' => 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\FormDataProvider\\TcaSelectItemsProcessor->translateCurrenciesSelector',
-                               'noIconsBelowSelect' => 1,
                                'size' => 1,
                                'minitems' => 0,
                                'maxitems' => 1,
@@ -196,6 +198,7 @@ return array(
                        'exclude' => '0',
                        'config' => array(
                                'type' => 'select',
+                               'renderType' => 'selectSingle',
                                'items' => array(
                                        array('','0'),
                                        array('LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_countries_item.cn_address_format_1','1'),
index 04da1d3..57dde3f 100644 (file)
@@ -43,13 +43,14 @@ return array(
                        'label' => 'LLL:EXT:static_info_tables/Resources/Private/Language/locallang_db.xlf:static_territories_item.tr_parent_territory_uid',
                        'config' => array(
                                'type' => 'select',
+                               'renderType' => 'selectSingle',
+                               'noIconsBelowSelect' => 1,
                                'items' => array(
                                        array('', 0),
                                ),
                                'foreign_table' => 'static_territories',
                                'foreign_table_where' => 'ORDER BY static_territories.tr_name_en',
                                'itemsProcFunc' => 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\FormDataProvider\\TcaSelectItemsProcessor->translateTerritoriesSelector',
-                               'noIconsBelowSelect' => 1,
                                'size' => 1,
                                'minitems' => 0,
                                'maxitems' => 1,