Browse Source

fixed breve->article i18n migration

bach 2 years ago
parent
commit
513bce8721

+ 0 - 3
config/sync/migrate_plus.migration.d7_node_article.yml

@@ -15,9 +15,6 @@ label: 'Node Article'
 source:
   plugin: d7_node_breve
   node_type: breve
-  high_water_property:
-    name: changed
-    alias: 'n'
 process:
   type:
     plugin: default_value

+ 0 - 3
config/sync/migrate_plus.migration.d7_node_article_i18n.yml

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

+ 3 - 3
web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_article.yml

@@ -10,9 +10,9 @@ migration_tags:
 source:
   plugin: d7_node_breve
   node_type: breve
-  high_water_property:
-    name: changed
-    alias: n
+  # high_water_property:
+  #   name: changed
+  #   alias: n
 
 destination:
   plugin: entity:node

+ 3 - 3
web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_article_i18n.yml

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

+ 2 - 2
web/modules/custom/materio_migrate/src/Plugin/migrate/source/D7NodeBreveI18n.php

@@ -34,8 +34,8 @@ class D7NodeBreveI18n extends FieldableEntity {
         'type',
         'promote',
         'sticky',
-        // 'created',
-        // 'changed',
+        'created',
+        'changed',
       ])
       ->fields('nr', [
         'log',