TYPO3-将自定义域模型映射到sys_category-后端问题

时间:2018-11-30 06:50:48

标签: typo3 typo3-7.6.x

使用列表模块时,我在TYPO3后端(7.x)中遇到以下错误:

Missing TCA definition
Warning: No fields for table 
"tx_categorymanagement_domain_model_category" have been found. 
$TCA['tx_categorymanagement_domain_model_category']['columns'] does not contain the necessary definitions.

enter image description here

实际上,tx_categorymanagement_domain_model_category只是应该映射到sys_category的域模型。有如下配置:

config.tx_extbase{
persistence{
    classes{
        XXXXXXXX\Categorymanagement\Domain\Model\Category {
            mapping {
                tableName = sys_category
            }
        }
    }
}
}

有一个后端模块,在该模块中加载了此配置并具有预期的效果(tx_categorymanagement_domain_model_category映射到sys_category)。后端中唯一存在问题的地方是列表模块。

0 个答案:

没有答案
相关问题