Some fixes in the terms migration.
The migrations fails if the static values aren't passed via a constant.
This commit is contained in:
parent
0b7d2a812e
commit
e62dcf96f4
8 changed files with 24 additions and 8 deletions
|
@ -11,6 +11,8 @@ migration_tags:
|
||||||
migration_group: migrate_drupal_7_geo
|
migration_group: migrate_drupal_7_geo
|
||||||
label: 'Taxonomy terms (Economic Sectors)'
|
label: 'Taxonomy terms (Economic Sectors)'
|
||||||
source:
|
source:
|
||||||
|
constants:
|
||||||
|
vocabulary: topics
|
||||||
plugin: d7_taxonomy_term
|
plugin: d7_taxonomy_term
|
||||||
bundle: vocabulary_1
|
bundle: vocabulary_1
|
||||||
process:
|
process:
|
||||||
|
@ -18,7 +20,7 @@ process:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
source: tid
|
source: tid
|
||||||
vid: 'topics'
|
vid: constants/vocabulary
|
||||||
name:
|
name:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
|
|
|
@ -13,12 +13,14 @@ label: 'Taxonomy terms (Visions & Models)'
|
||||||
source:
|
source:
|
||||||
plugin: d7_taxonomy_term
|
plugin: d7_taxonomy_term
|
||||||
bundle: vocabulary_10
|
bundle: vocabulary_10
|
||||||
|
constants:
|
||||||
|
vocabulary: topics
|
||||||
process:
|
process:
|
||||||
tid:
|
tid:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
source: tid
|
source: tid
|
||||||
vid: 'topics'
|
vid: constants/vocabulary
|
||||||
name:
|
name:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
|
|
|
@ -11,6 +11,8 @@ migration_tags:
|
||||||
migration_group: migrate_drupal_7_geo
|
migration_group: migrate_drupal_7_geo
|
||||||
label: 'Taxonomy terms (Movements & Struggles)'
|
label: 'Taxonomy terms (Movements & Struggles)'
|
||||||
source:
|
source:
|
||||||
|
constants:
|
||||||
|
vocabulary: topics
|
||||||
plugin: d7_taxonomy_term
|
plugin: d7_taxonomy_term
|
||||||
bundle: vocabulary_12
|
bundle: vocabulary_12
|
||||||
process:
|
process:
|
||||||
|
@ -18,7 +20,7 @@ process:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
source: tid
|
source: tid
|
||||||
vid: 'topics'
|
vid: constants/vocabulary
|
||||||
name:
|
name:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
|
|
|
@ -11,6 +11,8 @@ migration_tags:
|
||||||
migration_group: migrate_drupal_7_geo
|
migration_group: migrate_drupal_7_geo
|
||||||
label: 'Taxonomy terms (Practices, Tools & Strategies)'
|
label: 'Taxonomy terms (Practices, Tools & Strategies)'
|
||||||
source:
|
source:
|
||||||
|
constants:
|
||||||
|
vocabulary: topics
|
||||||
plugin: d7_taxonomy_term
|
plugin: d7_taxonomy_term
|
||||||
bundle: vocabulary_13
|
bundle: vocabulary_13
|
||||||
process:
|
process:
|
||||||
|
@ -18,7 +20,7 @@ process:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
source: tid
|
source: tid
|
||||||
vid: 'topics'
|
vid: constants/vocabulary
|
||||||
name:
|
name:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
|
|
|
@ -11,6 +11,8 @@ migration_tags:
|
||||||
migration_group: migrate_drupal_7_geo
|
migration_group: migrate_drupal_7_geo
|
||||||
label: 'Taxonomy terms (Regions)'
|
label: 'Taxonomy terms (Regions)'
|
||||||
source:
|
source:
|
||||||
|
constants:
|
||||||
|
vocabulary: topics
|
||||||
plugin: d7_taxonomy_term
|
plugin: d7_taxonomy_term
|
||||||
bundle: vocabulary_2
|
bundle: vocabulary_2
|
||||||
process:
|
process:
|
||||||
|
@ -18,7 +20,7 @@ process:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
source: tid
|
source: tid
|
||||||
vid: 'topics'
|
vid: constants/vocabulary
|
||||||
name:
|
name:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
|
|
|
@ -11,6 +11,8 @@ migration_tags:
|
||||||
migration_group: migrate_drupal_7_geo
|
migration_group: migrate_drupal_7_geo
|
||||||
label: 'Taxonomy terms (Departments)'
|
label: 'Taxonomy terms (Departments)'
|
||||||
source:
|
source:
|
||||||
|
constants:
|
||||||
|
vocabulary: article_type
|
||||||
plugin: d7_taxonomy_term
|
plugin: d7_taxonomy_term
|
||||||
bundle: vocabulary_3
|
bundle: vocabulary_3
|
||||||
process:
|
process:
|
||||||
|
@ -26,7 +28,7 @@ process:
|
||||||
# - 50 # Is not going to be used anymore.
|
# - 50 # Is not going to be used anymore.
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
vid: 'article_type'
|
vid: constants/vocabulary
|
||||||
name:
|
name:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
|
|
|
@ -11,6 +11,8 @@ migration_tags:
|
||||||
migration_group: migrate_drupal_7_geo
|
migration_group: migrate_drupal_7_geo
|
||||||
label: 'Taxonomy terms (Institutions & Structures)'
|
label: 'Taxonomy terms (Institutions & Structures)'
|
||||||
source:
|
source:
|
||||||
|
constants:
|
||||||
|
vocabulary: topics
|
||||||
plugin: d7_taxonomy_term
|
plugin: d7_taxonomy_term
|
||||||
bundle: vocabulary_7
|
bundle: vocabulary_7
|
||||||
process:
|
process:
|
||||||
|
@ -18,7 +20,7 @@ process:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
source: tid
|
source: tid
|
||||||
vid: 'topics'
|
vid: constants/vocabulary
|
||||||
name:
|
name:
|
||||||
-
|
-
|
||||||
plugin: get
|
plugin: get
|
||||||
|
|
|
@ -11,9 +11,11 @@ migration_tags:
|
||||||
migration_group: migrate_drupal_7_geo
|
migration_group: migrate_drupal_7_geo
|
||||||
label: 'Taxonomy vocabularies'
|
label: 'Taxonomy vocabularies'
|
||||||
source:
|
source:
|
||||||
|
constants:
|
||||||
|
vocabulary: topics
|
||||||
plugin: d7_taxonomy_vocabulary
|
plugin: d7_taxonomy_vocabulary
|
||||||
process:
|
process:
|
||||||
vid: 'topics'
|
vid: constants/vocabulary
|
||||||
name:
|
name:
|
||||||
- plugin: skip_on_value
|
- plugin: skip_on_value
|
||||||
method: row
|
method: row
|
||||||
|
|
Loading…
Add table
Reference in a new issue