【发布时间】:2019-04-24 15:24:13
【问题描述】:
我已经安装了 migration-plus 模块,并成功地将它用于该项目的其他迁移。当我尝试将它与 Simplenews 一起使用时,它会出现以下错误:
[error] Migration failed with source plugin exception: tid is defined as a source ID but has no value.
我在 D8 上安装并配置了 Simplenews。我从 Simplenews 模块导入了迁移 yml 文件,并使用“drush migrate-import d7_simplenews_newsletter”运行它。我已经尝试过使用和不使用 d7 数据库的自定义键。我已经尝试过在 D8 中重新创建 D7 时事通讯类别和不重新创建 D7 时事通讯类别。
我希望看到它成功地将 Simplenews 时事通讯从 D7 迁移到 D8,但它不起作用。我没有将 'tid' 定义为迁移中的源 ID,那么它来自哪里以及导致它失败的原因是什么?
【问题讨论】:
标签: drupal-8