TYPO3 - TCA 迁移检查显示 fieldName = 'sys_language_uid' 的字段 'showitem' 的第 4 个参数 'specConf' 已被迁移
TYPO3 - TCA Migrations Check shows 4th parameter 'specConf' of the field 'showitem' with fieldName = 'sys_language_uid' has been migrated
从 7LTS 升级到 8LTS 和 运行 TCA 迁移检查我的扩展后,结果列表显示如下:
评论:
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']".
在 TCA 中,我认为这是现场:
'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'),
),
我需要做哪些更改才能删除评论?
我认为这是相关的部分:
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/7.3/Deprecation-67229-TcaChanges.html
还有这个评论?:
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"
您可以从 sys_language_uid
字段中删除整个 ;;;;1-1-1
内容。
比较原始 TCA 和迁移后的 TCA 的最佳方法是使用后端模块 "Configuration" 并单击 TCA 树。
这是修复它的方法,使用后端模块的迁移版本Configuration
:
如果安装工具 > TCA Migrations
说明如下:
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']".
转到:
TYPO3 后端 -> 配置 -> $GLOBALS['TCA'](Table 配置数组) -> tx_arbeiten_domain_model_diplomarbeiten -> 类型 -> 1 -> showitems
从那里复制更新的值,在这种情况下:
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
并将它们粘贴到您的扩展程序的 TCA 文件中(同样位于 ['types']['1']['showitem']
)
从 7LTS 升级到 8LTS 和 运行 TCA 迁移检查我的扩展后,结果列表显示如下:
评论:
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']".
在 TCA 中,我认为这是现场:
'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'),
),
我需要做哪些更改才能删除评论?
我认为这是相关的部分: https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/7.3/Deprecation-67229-TcaChanges.html
还有这个评论?:
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"
您可以从 sys_language_uid
字段中删除整个 ;;;;1-1-1
内容。
比较原始 TCA 和迁移后的 TCA 的最佳方法是使用后端模块 "Configuration" 并单击 TCA 树。
这是修复它的方法,使用后端模块的迁移版本Configuration
:
如果安装工具 > TCA Migrations
说明如下:
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']".
转到:
TYPO3 后端 -> 配置 -> $GLOBALS['TCA'](Table 配置数组) -> tx_arbeiten_domain_model_diplomarbeiten -> 类型 -> 1 -> showitems
从那里复制更新的值,在这种情况下:
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
并将它们粘贴到您的扩展程序的 TCA 文件中(同样位于 ['types']['1']['showitem']
)