removed hightwater from materiau migration
This commit is contained in:
parent
ab3379e361
commit
e45a31aa43
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue