[BUGFIX] sys_template: Can't save "basedOn" configuration
authorSusanne Moog <typo3@susanne-moog.de>
Sat, 18 Aug 2012 20:43:48 +0000 (22:43 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 18 Aug 2012 21:59:22 +0000 (23:59 +0200)
Since the merge of the resources-removal
TypoScript templates can't save "basedOn"
changes because of a SQL error, as the
resources field is still referenced by
the tca and ext_tables.php.

Change-Id: I548af5a41375b69563c3822a7c8b96687bdf9487
Fixes: #39937
Releases: 6.0
Reviewed-on: http://review.typo3.org/13903
Reviewed-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/cms/ext_tables.php
typo3/sysext/cms/tbl_cms.php

index 771211b..edf83c7 100755 (executable)
@@ -226,7 +226,6 @@ $TCA['sys_template'] = array (
                'delete' => 'deleted',
                'adminOnly' => 1,       // Only admin, if any
                'iconfile' => 'template.gif',
-               'thumbnail' => 'resources',
                'enablecolumns' => array (
                        'disabled' => 'hidden',
                        'starttime' => 'starttime',
index 38f2934..cf8710c 100755 (executable)
@@ -1063,7 +1063,6 @@ $TCA['sys_template'] = array(
                        hidden,title;;1;;2-2-2, sitetitle, constants;;;;3-3-3, config, description;;;;4-4-4,
                        --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.options, clear, root, nextLevel,
                        --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.include, includeStaticAfterBasedOn,6-6-6, include_static_file, basedOn, static_file_mode,
-                       --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.files, resources,
                        --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.access, starttime, endtime'
                )
        )