temporary fixed core bug with migration after breve were deleted, changed migration breve to article
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
id: d7_node_breve
|
||||
label: Node Breve
|
||||
id: d7_node_article
|
||||
label: Node Article
|
||||
migration_group: d7_materio
|
||||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
- Materio
|
||||
deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
|
||||
|
||||
source:
|
||||
plugin: d7_node_breve
|
@@ -1,12 +1,11 @@
|
||||
id: d7_node_breve_i18n
|
||||
label: Node Breve i18n
|
||||
id: d7_node_article_i18n
|
||||
label: Node Article i18n
|
||||
migration_group: d7_materio
|
||||
audit: true
|
||||
migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
- Materio
|
||||
deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
|
||||
|
||||
source:
|
||||
plugin: d7_node_breve_i18n
|
||||
@@ -24,7 +23,7 @@ process:
|
||||
nid:
|
||||
plugin: migration_lookup
|
||||
source: nid
|
||||
migration: d7_node_breve
|
||||
migration: d7_node_article
|
||||
no_stub: true
|
||||
type:
|
||||
plugin: default_value
|
||||
@@ -45,4 +44,4 @@ process:
|
||||
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d7_node_breve
|
||||
- d7_node_article
|
@@ -6,7 +6,6 @@ migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
- Materio
|
||||
# deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
|
||||
|
||||
source:
|
||||
plugin: d7_node_materiau
|
||||
@@ -87,15 +86,15 @@ process:
|
||||
source: field_video_filter
|
||||
process:
|
||||
value: url
|
||||
field_linked_materials:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: linked_materials
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d7_node_materiau
|
||||
no_stub: true
|
||||
# field_linked_materials:
|
||||
# -
|
||||
# plugin: skip_on_empty
|
||||
# method: process
|
||||
# source: linked_materials
|
||||
# -
|
||||
# plugin: migration_lookup
|
||||
# migration: d7_node_materiau
|
||||
# no_stub: true
|
||||
field_linked_articles:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
@@ -103,7 +102,7 @@ process:
|
||||
source: linked_breves
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d7_node_breve
|
||||
migration: d7_node_article
|
||||
no_stub: true
|
||||
field_materiau_images:
|
||||
plugin: iterator
|
||||
@@ -156,4 +155,4 @@ migration_dependencies:
|
||||
- d7_taxonomy_term_company
|
||||
- d7_taxonomy_term_showroom
|
||||
optional:
|
||||
- d7_node_breve
|
||||
- d7_node_article
|
||||
|
@@ -6,7 +6,6 @@ migration_tags:
|
||||
- Drupal 7
|
||||
- Content
|
||||
- Materio
|
||||
deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
|
||||
|
||||
source:
|
||||
plugin: d7_node_materiau_i18n
|
||||
|
Reference in New Issue
Block a user