【问题标题】:Migration from D7 to D8 is failing with a source plugin exception从 D7 迁移到 D8 失败并出现源插件异常
【发布时间】: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


    【解决方案1】:

    我不知道问题出在哪里,但升级到 D8 Simplenews 的最新开发版本解决了它。

    【讨论】:

      猜你喜欢
      • 2017-04-08
      • 2017-12-11
      • 1970-01-01
      • 2018-11-17
      • 2021-02-02
      • 2020-06-24
      • 2023-03-22
      • 1970-01-01
      相关资源
      最近更新 更多