[TYPO3-dev] Duplicate TCA columns
Florian Rival
contact at oktopuce.fr
Thu Apr 2 12:03:19 CEST 2015
I found the problem.
The TCA columns were duplicated in ext_tables.php and tca.php.
I've commented one of them and it's all right now.
Re: [TYPO3-dev] How to call Extbase controller action from piBase-Plugin?
==================================================
Florian Rival
Oktopuce
tel.: +33-642-255-448
fax : +33-985-375-102
web: www.oktopuce.fr
==================================================
Le 02/04/2015 11:32, Florian Rival a écrit :
> Hi,
>
> I have a problem with TCA columns added to the tt_news records : in
> the BE, when editing a news there are duplicate TCA columns (two
> identical tabs instead of one before).
>
> The problem appears after migration of the Typo3 core from 6.2.6 to
> 6.2.11
>
> I use the extension newscalendar which added tca columns to tt_news as
> defined below :
>
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
> 'tt_news',
> array(
> 'tx_newscalendar_state' => array(
> 'exclude' => 1,
> 'label' =>
> 'LLL:EXT:newscalendar/locallang_db.php:tt_news.tx_newscalendar_state',
> 'config' => array(
> 'type' => 'check',
> 'default' => 1,
> )
> ),
> 'tx_newscalendar_calendardate' => array(
> 'exclude' => 1,
> 'l10n_mode' => 'mergeIfNotBlank',
> 'label' =>
> 'LLL:EXT:newscalendar/locallang_db.php:tt_news.tx_newscalendar_calendardate',
> 'config' => array(
> 'type' => 'input',
> 'size' => '10',
> 'max' => '20',
> 'eval' => 'datetime',
> 'checkbox' => '0',
> 'default' => '0'
> )
> ),
> 'tx_newscalendar_calendardate_end' => array(
> 'exclude' => 1,
> 'l10n_mode' => 'mergeIfNotBlank',
> 'label' =>
> 'LLL:EXT:newscalendar/locallang_db.php:tt_news.tx_newscalendar_calendardate_end',
> 'config' => array(
> 'type' => 'input',
> 'size' => '10',
> 'max' => '20',
> 'eval' => 'datetime',
> 'checkbox' => '0',
> 'default' => '0'
> )
> )
> )
> );
>
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('tt_news',
> '--div--;LLL:EXT:newscalendar/locallang_db.xml:tt_news.tx_newscalendar_newscalendartab,tx_newscalendar_state;;;;1-1-1,tx_newscalendar_calendardate;;;;1-1-1,tx_newscalendar_calendardate_end;;;;1-1-1');
>
>
> When I look in the TCA configuration :
> $TCA['tt_news']['types']['0']['showitem'],
> $TCA['tt_news']['types']['1']['showitem'] and
> $TCA['tt_news']['types']['2']['showitem'], columns are duplicated.
>
> Regards,
More information about the TYPO3-dev
mailing list