fixed dependency between materials and articles migrations (stub)

This commit is contained in:
Bachir Soussi Chiadmi 2019-02-13 20:16:34 +01:00
parent 3366152aab
commit 639ec659cd
16 changed files with 40 additions and 33 deletions

View File

@ -1,4 +1,4 @@
uuid: df4b3c36-96d1-4eb9-bfdb-713871e800b2
uuid: 8c9210cb-a99c-4ea9-b1ae-7cebab867e35
langcode: en
status: true
dependencies: { }

View File

@ -1,9 +1,9 @@
uuid: 750e40c0-63b5-4a33-b533-3bb2915cbf09
uuid: ca320942-862b-4cf6-96db-1b2054b7cbb0
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: pdNrtJLEHdyDgS4edWjXSpz87935uFZwdN9LUcxJ8s8
default_config_hash: p0mdscuBIXXF0FIhjY9CCji-FhamTKx6LUlnwTkLzMY
id: d7_node_article
class: null
field_plugin_method: null
@ -103,5 +103,4 @@ migration_dependencies:
- d7_taxonomy_term_tags
- d7_taxonomy_term_company
- d7_taxonomy_term_showroom
optional:
- d7_node_materiau

View File

@ -1,4 +1,4 @@
uuid: 2fe80a0b-44db-4492-97d6-0b90ec3dcdf5
uuid: f47cabd7-600e-4d20-8a45-c25925397869
langcode: en
status: true
dependencies: { }

View File

@ -1,9 +1,9 @@
uuid: 15912690-6202-41a4-85a6-e3a7b3e1f5ba
uuid: 7d694cfc-8ffd-4377-b6b5-ceb35f798157
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: uwyhSm_19FNjM2NOe9SSaUDkPGfzbr8tqTf0dd5v10c
default_config_hash: IZc_o-5WqNiJ8NTICybpBbCK-b4OU8MJrG84i5kv0J0
id: d7_node_materiau
class: null
field_plugin_method: null
@ -84,6 +84,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_articles:
-
plugin: skip_on_empty
@ -92,7 +101,6 @@ process:
-
plugin: migration_lookup
migration: d7_node_article
no_stub: true
field_materiau_images:
plugin: iterator
source: field_materiau_image
@ -140,5 +148,3 @@ migration_dependencies:
- d7_taxonomy_term_tags
- d7_taxonomy_term_company
- d7_taxonomy_term_showroom
optional:
- d7_node_article

View File

@ -1,4 +1,4 @@
uuid: e13f2fe2-779f-459a-b2cd-66a4df50e5d2
uuid: 1576080d-4bde-433b-aefc-fcfe2244006e
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 30660b23-85b2-41f9-9f1b-289d7af7ac21
uuid: 381b68a4-c1fd-47a0-b623-73ce3e41922e
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: a29e8251-0f97-4f06-99b2-551fc0b11c81
uuid: 67baeccb-6842-4e0c-a337-154e6d6f6328
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 5412a54a-4dbd-4b66-8fed-d161f52e31ec
uuid: 4a7977b6-2b87-4c60-bea4-ed94c3647f25
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: fa3e32f1-4df9-44b1-bd57-0fb897578f42
uuid: eaa02e64-858c-4ece-a11a-94c2309305c6
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: c95daf8a-ecb7-4356-b6f9-b931e593fbf7
uuid: 0780e11d-8a4a-44d2-8034-7e6b30809335
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 0c4a94d6-bec1-44bb-81da-18459811a95f
uuid: ecf8eb1e-5e78-47cc-ae3b-d2b4adc3ccf7
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 1a1eddc8-9c4c-4038-9b7f-90f6dc7d1d20
uuid: dfbcbe3b-c1d5-400e-97a7-1fa7b15bae3c
langcode: en
status: true
dependencies:

View File

@ -1,4 +1,4 @@
uuid: 3ad0d297-9a00-4d1c-ade9-ef4146ec6311
uuid: cc86e87e-083c-4285-9dc4-d4d269a7462a
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: eaa7737a-1915-47a0-aec9-63dce32d1774
uuid: b9ef6e1f-fc9e-4883-b8ca-865887aad62e
langcode: en
status: true
dependencies:
@ -7,6 +7,8 @@ dependencies:
- migrate_plus
- migrate_tools
- materio_migrate
_core:
default_config_hash: tbcV0glxU9BqeXcSUn9ZKXnOPW-C2v8Q-shvIJ2xNG8
id: d7_materio
label: 'D7 Materio'
description: 'Drupal 7 materio content migration to Drupal 8.'

View File

@ -104,5 +104,5 @@ migration_dependencies:
- d7_taxonomy_term_tags
- d7_taxonomy_term_company
- d7_taxonomy_term_showroom
optional:
- d7_node_materiau
# optional:

View File

@ -86,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 +103,7 @@ process:
-
plugin: migration_lookup
migration: d7_node_article
no_stub: true
# no_stub: true
field_materiau_images:
plugin: iterator
source: field_materiau_image
@ -154,5 +154,5 @@ migration_dependencies:
- d7_taxonomy_term_tags
- d7_taxonomy_term_company
- d7_taxonomy_term_showroom
optional:
- d7_node_article
# optional:
# - d7_node_article