From d4396c96c0b3679564f2a723820aca99dd3f7ec6 Mon Sep 17 00:00:00 2001 From: David Valdez Date: Fri, 30 Aug 2019 19:51:37 -0500 Subject: [PATCH] Fix in the terms migrations. The parent is now a constant in the migrations that have a fixed parent. --- .../migrations/upgrade_d7_taxonomy_term_vocabulary_3.yml | 3 ++- .../geo_upgrade/migrations/upgrade_d7_taxonomy_vocabulary.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/modules/custom/geo_upgrade/migrations/upgrade_d7_taxonomy_term_vocabulary_3.yml b/web/modules/custom/geo_upgrade/migrations/upgrade_d7_taxonomy_term_vocabulary_3.yml index fbb8046..34878e5 100644 --- a/web/modules/custom/geo_upgrade/migrations/upgrade_d7_taxonomy_term_vocabulary_3.yml +++ b/web/modules/custom/geo_upgrade/migrations/upgrade_d7_taxonomy_term_vocabulary_3.yml @@ -13,6 +13,7 @@ label: 'Taxonomy terms (Departments)' source: constants: vocabulary: article_type + parent: 0 plugin: d7_taxonomy_term bundle: vocabulary_3 process: @@ -45,7 +46,7 @@ process: - plugin: get source: weight - parent: '0' + parent: constants/parent forum_container: - plugin: get diff --git a/web/modules/custom/geo_upgrade/migrations/upgrade_d7_taxonomy_vocabulary.yml b/web/modules/custom/geo_upgrade/migrations/upgrade_d7_taxonomy_vocabulary.yml index 155de1e..8d475fa 100644 --- a/web/modules/custom/geo_upgrade/migrations/upgrade_d7_taxonomy_vocabulary.yml +++ b/web/modules/custom/geo_upgrade/migrations/upgrade_d7_taxonomy_vocabulary.yml @@ -13,6 +13,7 @@ label: 'Taxonomy vocabularies' source: constants: vocabulary: topics + parent: 0 plugin: d7_taxonomy_vocabulary process: vid: constants/vocabulary @@ -39,7 +40,7 @@ process: - plugin: get source: weight - parent: '0' + parent: constants/vocabulary destination: plugin: 'entity:taxonomy_term' default_bundle: topics