removed hightwater from materiau migration

This commit is contained in:
Bachir Soussi Chiadmi 2021-07-22 19:18:56 +02:00
parent ab3379e361
commit e45a31aa43
6 changed files with 9 additions and 14 deletions

View File

@ -16,9 +16,6 @@ source:
plugin: d7_node_materiau
node_type: materiau
batch_size: 500
high_water_property:
name: changed
alias: 'n'
process:
type:
plugin: default_value

View File

@ -16,9 +16,6 @@ source:
plugin: d7_node_materiau_i18n
node_type: materiau
translations: true
high_water_property:
name: changed
alias: 'n'
process:
nid:
plugin: migration_lookup

View File

@ -81,7 +81,7 @@ sleep 5
echo " "
echo "Migrating Nodes"
echo "Migrating Materials"
drush mim d7_node_materiau --feedback="1000"
drush mim d7_node_materiau --update --feedback="1000"
echo " "
drush mim d7_node_materiau_i18n --feedback="1000"
sleep 5

View File

@ -11,9 +11,9 @@ source:
plugin: d7_node_materiau
node_type: materiau
batch_size: 500
high_water_property:
name: changed
alias: n
# high_water_property:
# name: changed
# alias: n
destination:
plugin: entity:node

View File

@ -11,9 +11,9 @@ source:
plugin: d7_node_materiau_i18n
node_type: materiau
translations: true
high_water_property:
name: changed
alias: n
# high_water_property:
# name: changed
# alias: n
destination:
plugin: entity:node

View File

@ -135,7 +135,8 @@ class D7NodeMateriau extends FieldableEntity {
foreach ($row->getSourceProperty('field_materiau_ref') as $key => $value) {
$linked_materials[] = $value['target_id'];
}
// print_r($linked_materials);
// drush_print("\n".'-- '.$nid."\t".$title);
// drush_print(print_r($linked_materials, true));
}
$row->setSourceProperty('linked_materials', $linked_materials);