Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TYPO3 - TCA Migrations Check shows 4th parameter 'specConf' of the field 'showitem' with fieldName = 'sys_language_uid' has been migrated

After upgrading from 7LTS to 8LTS and running TCA Migrations Check for my extensions the result list shows the following:

Comment:

The 4th parameter 'specConf' of the field 'showitem' with fieldName = 'sys_language_uid' has been migrated, from TCA table "tx_myextension_domain_model_accounts['types']['1']['showitem']"to "tx_myextension_domain_model_accounts['types']['1']['columnsOverrides']['sys_language_uid']['defaultExtras']".

In TCA I think this is the spot:

    'types' => array(
        '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'),
    ),

What changes do I need to do to get rid of comment?

I think this is the relevant part: https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/7.3/Deprecation-67229-TcaChanges.html

And this comment as well?:

Migrated 'showitem' field from TCA table tx_accountmanager_domain_model_accounts['types']['1']" : Moved additional palette with name "tx_myextension_domain_model_accounts['types']['1']['1']" as 3rd argument of field "tx_myextension_domain_model_accounts['types']['1']['hidden']"to an own palette. The result of this part is: "hidden, --palette--;;1"

like image 689
Philipp M Avatar asked Aug 22 '17 11:08

Philipp M


2 Answers

You may drop the whole ;;;;1-1-1 thing from your sys_language_uid field.

The best way to compare your original TCA with the migrated TCA is using the backend module "Configuration" and clicking through the TCA tree.

like image 82
Andreas Fernandez Avatar answered Nov 07 '22 15:11

Andreas Fernandez


Here a way to fix it, using the migrated version of the Backend Module Configuration:

If install tool > TCA Migrations says the following:

The 4th parameter 'specConf' of the field 'showitem' with fieldName = 'sys_language_uid' has been migrated, from TCA table "tx_arbeiten_domain_model_diplomarbeiten['types']['1']['showitem']"to "tx_arbeiten_domain_model_diplomarbeiten['types']['1']['columnsOverrides']['sys_language_uid']['defaultExtras']".

Go to:

TYPO3 Backend -> Configuration -> $GLOBALS[‘TCA’](Table configuration array) -> tx_arbeiten_domain_model_diplomarbeiten -> types -> 1 -> showitems

Copy the updated values from there, in this case:

showitem = sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,authorfirstname,author,author2firstname,author2,author3firstname,author3,title,schoolclass,link,--palette--;Datei 1;downloadgroup,--palette--;Datei 2;download2group,--palette--;Datei 3;download3group,--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,starttime,endtime

and paste them into your extension's TCA file (again at ['types']['1']['showitem'])

like image 6
bandanh Avatar answered Nov 07 '22 15:11

bandanh