Browse Source

temporary fixed core bug with migration after breve were deleted, changed migration breve to article

Bachir Soussi Chiadmi 5 years ago
parent
commit
0e064d7f52
27 changed files with 441 additions and 176 deletions
  1. 3 0
      composer.json
  2. 2 1
      composer.lock
  3. 1 1
      config/sync/core.entity_form_display.node.article.default.yml
  4. 1 1
      config/sync/core.entity_view_display.node.article.default.yml
  5. 2 2
      config/sync/core.entity_view_display.node.article.teaser.yml
  6. 2 2
      config/sync/field.field.node.article.field_linked_materials.yml
  7. 12 0
      config/sync/matminimal.settings.yml
  8. 1 1
      config/sync/migrate_plus.migration.d7_allpublicfiles.yml
  9. 4 4
      config/sync/migrate_plus.migration.d7_node_article.yml
  10. 6 6
      config/sync/migrate_plus.migration.d7_node_article_i18n.yml
  11. 4 13
      config/sync/migrate_plus.migration.d7_node_materiau.yml
  12. 2 2
      config/sync/migrate_plus.migration.d7_node_materiau_i18n.yml
  13. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml
  14. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_showroom.yml
  15. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_tags.yml
  16. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml
  17. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml
  18. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml
  19. 1 1
      config/sync/migrate_plus.migration.d7_user_profile.yml
  20. 1 1
      config/sync/migrate_plus.migration.d7_users.yml
  21. 1 1
      config/sync/migrate_plus.migration_group.d7_materio.yml
  22. 375 113
      config/sync/views.view.admin_nodes.yml
  23. 2 3
      web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_article.yml
  24. 4 5
      web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_article_i18n.yml
  25. 11 12
      web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_materiau.yml
  26. 0 1
      web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_materiau_i18n.yml
  27. BIN
      web/themes/custom/matminimal/icon.png

+ 3 - 0
composer.json

@@ -92,6 +92,9 @@
             "drush/Commands/{$name}": ["type:drupal-drush"]
         },
         "patches": {
+            "drupal/core": {
+              "migrate_drupal getsetting on null" : "https://www.drupal.org/files/issues/2019-02-13/migrate_drupal-getsetting_on_null.patch"
+            },
             "drupal/migrate_tools": {
               "The --limit option does not accept a value.": "https://www.drupal.org/files/issues/2019-02-05/migrate-tools_fix-drush-options_3024399-23.patch"
             }

+ 2 - 1
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "760cceafed650ef4ca099f8605a1efce",
+    "content-hash": "5c81e81b43e05fe31dadbff79f287767",
     "packages": [
         {
             "name": "alchemy/zippy",
@@ -3581,6 +3581,7 @@
                     "merge-extra": false
                 },
                 "patches_applied": {
+                    "migrate_drupal getsetting on null": "https://www.drupal.org/files/issues/2019-02-13/migrate_drupal-getsetting_on_null.patch",
                     "https://www.drupal.org/project/drupal/issues/2943172": "https://www.drupal.org/files/issues/2018-07-05/2943172-kernel-test-base-3.patch"
                 }
             },

+ 1 - 1
config/sync/core.entity_form_display.node.article.default.yml

@@ -124,7 +124,7 @@ content:
     type: daterange_default
     region: content
   field_linked_materials:
-    weight: 4
+    weight: 27
     settings:
       match_operator: CONTAINS
       size: 60

+ 1 - 1
config/sync/core.entity_view_display.node.article.default.yml

@@ -47,7 +47,7 @@ content:
     type: daterange_default
     region: content
   field_linked_materials:
-    weight: 107
+    weight: 113
     label: above
     settings:
       link: true

+ 2 - 2
config/sync/core.entity_view_display.node.article.teaser.yml

@@ -5,7 +5,7 @@ dependencies:
   config:
     - core.entity_view_mode.node.teaser
     - field.field.node.article.body
-    - field.field.node.article.field_linked_materials
+    - field.field.node.article.field_date
     - field.field.node.article.field_memo
     - field.field.node.article.field_migration
     - field.field.node.article.field_showroom
@@ -38,7 +38,7 @@ content:
     third_party_settings: {  }
     region: content
 hidden:
-  field_linked_materials: true
+  field_date: true
   field_memo: true
   field_migration: true
   field_showroom: true

+ 2 - 2
config/sync/field.field.node.article.field_linked_materials.yml

@@ -1,4 +1,4 @@
-uuid: 070a71cf-d161-4747-b029-bdcbef67e987
+uuid: 95993822-0d0f-4c89-854a-6a8381a1a010
 langcode: en
 status: true
 dependencies:
@@ -13,7 +13,7 @@ bundle: article
 label: 'Linked Materials'
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings:

+ 12 - 0
config/sync/matminimal.settings.yml

@@ -0,0 +1,12 @@
+features:
+  node_user_picture: false
+  comment_user_picture: true
+  comment_user_verification: true
+  favicon: 1
+logo:
+  use_default: 1
+favicon:
+  use_default: 0
+  path: themes/custom/matminimal/icon.png
+  mimetype: image/png
+custom_css: 0

+ 1 - 1
config/sync/migrate_plus.migration.d7_allpublicfiles.yml

@@ -1,4 +1,4 @@
-uuid: 7566eebc-1df2-453e-970e-1fe2b4e2dd06
+uuid: df4b3c36-96d1-4eb9-bfdb-713871e800b2
 langcode: en
 status: true
 dependencies: {  }

+ 4 - 4
config/sync/migrate_plus.migration.d7_node_breve.yml → config/sync/migrate_plus.migration.d7_node_article.yml

@@ -1,10 +1,10 @@
-uuid: aa5d5bb1-16ef-4102-bf74-a3f5ee81c759
+uuid: 750e40c0-63b5-4a33-b533-3bb2915cbf09
 langcode: en
 status: true
 dependencies: {  }
 _core:
-  default_config_hash: w3pXNROO6lA2fVjadw-C8wCUvyYdOvfbpSsBxzIRbeA
-id: d7_node_breve
+  default_config_hash: pdNrtJLEHdyDgS4edWjXSpz87935uFZwdN9LUcxJ8s8
+id: d7_node_article
 class: null
 field_plugin_method: null
 cck_plugin_method: null
@@ -13,7 +13,7 @@ migration_tags:
   - Content
   - Materio
 migration_group: d7_materio
-label: 'Node Breve'
+label: 'Node Article'
 source:
   plugin: d7_node_breve
   node_type: breve

+ 6 - 6
config/sync/migrate_plus.migration.d7_node_breve_i18n.yml → config/sync/migrate_plus.migration.d7_node_article_i18n.yml

@@ -1,10 +1,10 @@
-uuid: 9de8f7ab-de5d-4f7e-a030-62694600bea0
+uuid: 2fe80a0b-44db-4492-97d6-0b90ec3dcdf5
 langcode: en
 status: true
 dependencies: {  }
 _core:
-  default_config_hash: 9-pnSHnx46J3DsAqxcQI6LtvDcEiVxCwXRICnhz63oU
-id: d7_node_breve_i18n
+  default_config_hash: vLmdf7LyOFNcHdarEDF_W3CV4Wp-K6GdgH_dOwuUHTY
+id: d7_node_article_i18n
 class: null
 field_plugin_method: null
 cck_plugin_method: null
@@ -13,7 +13,7 @@ migration_tags:
   - Content
   - Materio
 migration_group: d7_materio
-label: 'Node Breve i18n'
+label: 'Node Article i18n'
 source:
   plugin: d7_node_breve_i18n
   node_type: breve
@@ -25,7 +25,7 @@ process:
   nid:
     plugin: migration_lookup
     source: nid
-    migration: d7_node_breve
+    migration: d7_node_article
     no_stub: true
   type:
     plugin: default_value
@@ -48,4 +48,4 @@ destination:
   translations: true
 migration_dependencies:
   required:
-    - d7_node_breve
+    - d7_node_article

+ 4 - 13
config/sync/migrate_plus.migration.d7_node_materiau.yml

@@ -1,9 +1,9 @@
-uuid: 1d54f1a3-0485-409b-b575-cd56d83cf6d7
+uuid: 15912690-6202-41a4-85a6-e3a7b3e1f5ba
 langcode: en
 status: true
 dependencies: {  }
 _core:
-  default_config_hash: ESf3tRJYVk5rQK5wrxQRmRbiH807zs3gnaArEu3NMkQ
+  default_config_hash: uwyhSm_19FNjM2NOe9SSaUDkPGfzbr8tqTf0dd5v10c
 id: d7_node_materiau
 class: null
 field_plugin_method: null
@@ -84,15 +84,6 @@ 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
@@ -100,7 +91,7 @@ process:
       source: linked_breves
     -
       plugin: migration_lookup
-      migration: d7_node_breve
+      migration: d7_node_article
       no_stub: true
   field_materiau_images:
     plugin: iterator
@@ -150,4 +141,4 @@ migration_dependencies:
     - d7_taxonomy_term_company
     - d7_taxonomy_term_showroom
   optional:
-    - d7_node_breve
+    - d7_node_article

+ 2 - 2
config/sync/migrate_plus.migration.d7_node_materiau_i18n.yml

@@ -1,9 +1,9 @@
-uuid: c48fc19b-1da3-4825-a2d9-8e7b33f11385
+uuid: e13f2fe2-779f-459a-b2cd-66a4df50e5d2
 langcode: en
 status: true
 dependencies: {  }
 _core:
-  default_config_hash: ajKKikYoN4tucCSodObLGpE3uyVsFhzhV-lvIVOlnxY
+  default_config_hash: Qs6SCZjjvh6GVqAsUnNPqcgKFQDrDg-NQ3yeTRQEFLU
 id: d7_node_materiau_i18n
 class: null
 field_plugin_method: null

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml

@@ -1,4 +1,4 @@
-uuid: 51370ae5-37a8-4f26-85e2-373aa526dcdc
+uuid: 30660b23-85b2-41f9-9f1b-289d7af7ac21
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_showroom.yml

@@ -1,4 +1,4 @@
-uuid: 5773d5c0-088d-4e89-a447-8d125bb58c0f
+uuid: a29e8251-0f97-4f06-99b2-551fc0b11c81
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_tags.yml

@@ -1,4 +1,4 @@
-uuid: 89e7de0a-f992-4073-b957-1b1a57c4ad9e
+uuid: 5412a54a-4dbd-4b66-8fed-d161f52e31ec
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml

@@ -1,4 +1,4 @@
-uuid: 76509700-f3d8-440e-a18e-b9e2a52cdcf9
+uuid: fa3e32f1-4df9-44b1-bd57-0fb897578f42
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml

@@ -1,4 +1,4 @@
-uuid: bd09fe00-e419-4a68-a304-95c1c52cedce
+uuid: c95daf8a-ecb7-4356-b6f9-b931e593fbf7
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml

@@ -1,4 +1,4 @@
-uuid: 55da49d6-8a16-4e11-a230-cfa0ce8ab515
+uuid: 0c4a94d6-bec1-44bb-81da-18459811a95f
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_user_profile.yml

@@ -1,4 +1,4 @@
-uuid: 21870eb5-237b-4095-9f33-d66a2e0dbdee
+uuid: 1a1eddc8-9c4c-4038-9b7f-90f6dc7d1d20
 langcode: en
 status: true
 dependencies:

+ 1 - 1
config/sync/migrate_plus.migration.d7_users.yml

@@ -1,4 +1,4 @@
-uuid: 7a9fcfbd-f563-4f3b-a922-3b05ed2935bc
+uuid: 3ad0d297-9a00-4d1c-ade9-ef4146ec6311
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration_group.d7_materio.yml

@@ -1,4 +1,4 @@
-uuid: a798c8c7-87d0-4ec5-9834-e639e667e5f6
+uuid: eaa7737a-1915-47a0-aec9-63dce32d1774
 langcode: en
 status: true
 dependencies:

+ 375 - 113
config/sync/views.view.admin_nodes.yml

@@ -115,7 +115,7 @@ display:
             field_thesaurus: field_thesaurus
             field_tags: field_tags
             field_manufacturer: field_manufacturer
-            field_distributor: field_manufacturer
+            field_distributor: field_distributor
             field_linked_materials: field_linked_materials
             field_linked_articles: field_linked_articles
             field_samples: field_samples
@@ -179,7 +179,7 @@ display:
               responsive: ''
             field_manufacturer:
               align: ''
-              separator: '<br/>'
+              separator: ''
               empty_column: false
               responsive: ''
             field_distributor:
@@ -2191,6 +2191,8 @@ display:
       defaults:
         title: false
         fields: false
+        style: false
+        row: false
       fields:
         views_bulk_operations_bulk_form:
           id: views_bulk_operations_bulk_form
@@ -3333,6 +3335,146 @@ display:
           entity_type: node
           entity_field: changed
           plugin_id: field
+      style:
+        type: table
+        options:
+          grouping: {  }
+          row_class: ''
+          default_row_class: true
+          override: true
+          sticky: false
+          caption: ''
+          summary: ''
+          description: ''
+          columns:
+            views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
+            nid: nid
+            title: title
+            field_reference: title
+            field_materiau_images: title
+            operations: title
+            is_locked: title
+            field_thesaurus: field_thesaurus
+            field_tags: field_tags
+            field_manufacturer: field_manufacturer
+            field_distributor: field_manufacturer
+            field_linked_materials: field_linked_materials
+            field_linked_articles: field_linked_articles
+            field_samples: field_samples
+            field_workflow: field_workflow
+            field_migration: field_migration
+            field_memo: field_memo
+            changed: changed
+          info:
+            views_bulk_operations_bulk_form:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            nid:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            title:
+              sortable: false
+              default_sort_order: asc
+              align: views-align-left
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_reference:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_materiau_images:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            operations:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            is_locked:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_thesaurus:
+              align: ''
+              separator: '<br/>'
+              empty_column: false
+              responsive: ''
+            field_tags:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_manufacturer:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_distributor:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_linked_materials:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_linked_articles:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_samples:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_workflow:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_migration:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_memo:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            changed:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+          default: '-1'
+          empty_table: false
+      row:
+        type: fields
+        options: {  }
     cache_metadata:
       max-age: 0
       contexts:
@@ -3571,6 +3713,8 @@ display:
         fields: false
         filters: false
         filter_groups: false
+        style: false
+        row: false
       fields:
         views_bulk_operations_bulk_form:
           id: views_bulk_operations_bulk_form
@@ -3656,18 +3800,18 @@ display:
             pathauto_update_alias:
               label_override: ''
           plugin_id: views_bulk_operations_bulk_form
-        field_visuel:
-          id: field_visuel
-          table: node__field_visuel
-          field: field_visuel
+        title:
+          id: title
+          table: node_field_data
+          field: title
           relationship: none
           group_type: group
           admin_label: ''
-          label: Visuel
+          label: Title
           exclude: false
           alter:
-            alter_text: false
-            text: ''
+            alter_text: true
+            text: '<h2>{{ title }}</h2>'
             make_link: false
             path: ''
             absolute: false
@@ -3683,8 +3827,8 @@ display:
             target: ''
             nl2br: false
             max_length: 0
-            word_boundary: true
-            ellipsis: true
+            word_boundary: false
+            ellipsis: false
             more_link: false
             more_link_text: ''
             more_link_path: ''
@@ -3704,47 +3848,59 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-          click_sort_column: target_id
-          type: image
+          click_sort_column: value
+          type: string
           settings:
-            image_style: medium
-            image_link: ''
-          group_column: ''
+            link_to_entity: true
+          group_column: value
           group_columns: {  }
           group_rows: true
-          delta_limit: 1
+          delta_limit: 0
           delta_offset: 0
           delta_reversed: false
           delta_first_last: false
           multi_type: separator
           separator: ', '
           field_api_classes: false
-          plugin_id: field
-        title:
-          id: title
-          table: node_field_data
-          field: title
           entity_type: node
           entity_field: title
+          plugin_id: field
+        field_visuel:
+          id: field_visuel
+          table: node__field_visuel
+          field: field_visuel
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Visuel
+          exclude: false
           alter:
             alter_text: false
+            text: ''
             make_link: false
+            path: ''
             absolute: false
-            trim: false
-            word_boundary: false
-            ellipsis: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
             strip_tags: false
+            trim: false
+            preserve_tags: ''
             html: false
-          hide_empty: false
-          empty_zero: false
-          settings:
-            link_to_entity: true
-          plugin_id: field
-          relationship: none
-          group_type: group
-          admin_label: ''
-          label: Title
-          exclude: false
           element_type: ''
           element_class: ''
           element_label_type: ''
@@ -3754,19 +3910,25 @@ display:
           element_wrapper_class: ''
           element_default_classes: true
           empty: ''
+          hide_empty: false
+          empty_zero: false
           hide_alter_empty: true
-          click_sort_column: value
-          type: string
-          group_column: value
+          click_sort_column: target_id
+          type: image
+          settings:
+            image_style: medium
+            image_link: ''
+          group_column: ''
           group_columns: {  }
           group_rows: true
-          delta_limit: 0
+          delta_limit: 1
           delta_offset: 0
           delta_reversed: false
           delta_first_last: false
           multi_type: separator
           separator: ', '
           field_api_classes: false
+          plugin_id: field
         operations:
           id: operations
           table: node
@@ -3818,6 +3980,59 @@ display:
           destination: true
           entity_type: node
           plugin_id: entity_operations
+        is_locked:
+          id: is_locked
+          table: content_lock
+          field: is_locked
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Is Locked'
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          type: unicode-yes-no
+          type_custom_true: ''
+          type_custom_false: ''
+          not: true
+          plugin_id: boolean
         field_thesaurus:
           id: field_thesaurus
           table: node__field_thesaurus
@@ -4131,14 +4346,14 @@ display:
           separator: ', '
           field_api_classes: false
           plugin_id: field
-        is_locked:
-          id: is_locked
-          table: content_lock
-          field: is_locked
+        changed:
+          id: changed
+          table: node_field_data
+          field: changed
           relationship: none
           group_type: group
           admin_label: ''
-          label: 'Is Locked'
+          label: Changed
           exclude: false
           alter:
             alter_text: false
@@ -4179,62 +4394,12 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-          type: yes-no
-          type_custom_true: ''
-          type_custom_false: ''
-          not: false
-          plugin_id: boolean
-        field_memo:
-          id: field_memo
-          table: node__field_memo
-          field: field_memo
-          relationship: none
-          group_type: group
-          admin_label: ''
-          label: Memo
-          exclude: false
-          alter:
-            alter_text: false
-            text: ''
-            make_link: false
-            path: ''
-            absolute: false
-            external: false
-            replace_spaces: false
-            path_case: none
-            trim_whitespace: false
-            alt: ''
-            rel: ''
-            link_class: ''
-            prefix: ''
-            suffix: ''
-            target: ''
-            nl2br: false
-            max_length: 300
-            word_boundary: true
-            ellipsis: true
-            more_link: false
-            more_link_text: ''
-            more_link_path: ''
-            strip_tags: false
-            trim: true
-            preserve_tags: ''
-            html: false
-          element_type: ''
-          element_class: ''
-          element_label_type: ''
-          element_label_class: ''
-          element_label_colon: true
-          element_wrapper_type: ''
-          element_wrapper_class: ''
-          element_default_classes: true
-          empty: ''
-          hide_empty: false
-          empty_zero: false
-          hide_alter_empty: true
           click_sort_column: value
-          type: basic_string
-          settings: {  }
+          type: timestamp
+          settings:
+            date_format: html_date
+            custom_date_format: ''
+            timezone: ''
           group_column: value
           group_columns: {  }
           group_rows: true
@@ -4245,15 +4410,17 @@ display:
           multi_type: separator
           separator: ', '
           field_api_classes: false
+          entity_type: node
+          entity_field: changed
           plugin_id: field
-        changed:
-          id: changed
-          table: node_field_data
-          field: changed
+        field_memo:
+          id: field_memo
+          table: node__field_memo
+          field: field_memo
           relationship: none
           group_type: group
           admin_label: ''
-          label: Changed
+          label: Memo
           exclude: false
           alter:
             alter_text: false
@@ -4272,14 +4439,14 @@ display:
             suffix: ''
             target: ''
             nl2br: false
-            max_length: 0
+            max_length: 300
             word_boundary: true
             ellipsis: true
             more_link: false
             more_link_text: ''
             more_link_path: ''
             strip_tags: false
-            trim: false
+            trim: true
             preserve_tags: ''
             html: false
           element_type: ''
@@ -4295,11 +4462,8 @@ display:
           empty_zero: false
           hide_alter_empty: true
           click_sort_column: value
-          type: timestamp
-          settings:
-            date_format: html_date
-            custom_date_format: ''
-            timezone: ''
+          type: basic_string
+          settings: {  }
           group_column: value
           group_columns: {  }
           group_rows: true
@@ -4310,8 +4474,6 @@ display:
           multi_type: separator
           separator: ', '
           field_api_classes: false
-          entity_type: node
-          entity_field: changed
           plugin_id: field
       filters:
         type:
@@ -4570,6 +4732,106 @@ display:
         operator: AND
         groups:
           1: AND
+      style:
+        type: table
+        options:
+          grouping: {  }
+          row_class: ''
+          default_row_class: true
+          override: true
+          sticky: false
+          caption: ''
+          summary: ''
+          description: ''
+          columns:
+            views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
+            title: title
+            field_visuel: title
+            operations: title
+            is_locked: title
+            field_thesaurus: field_thesaurus
+            field_tags: field_tags
+            field_linked_materials: field_linked_materials
+            field_workflow: field_workflow
+            field_migration: field_migration
+            changed: changed
+            field_memo: field_memo
+          info:
+            views_bulk_operations_bulk_form:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            title:
+              sortable: false
+              default_sort_order: asc
+              align: views-align-left
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_visuel:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            operations:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            is_locked:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_thesaurus:
+              align: ''
+              separator: '<br/>'
+              empty_column: false
+              responsive: ''
+            field_tags:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_linked_materials:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_workflow:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_migration:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            changed:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_memo:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+          default: '-1'
+          empty_table: false
+      row:
+        type: fields
+        options: {  }
     cache_metadata:
       max-age: 0
       contexts:

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

@@ -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

+ 4 - 5
web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_breve_i18n.yml → web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_article_i18n.yml

@@ -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

+ 11 - 12
web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_materiau.yml

@@ -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

+ 0 - 1
web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_materiau_i18n.yml

@@ -6,7 +6,6 @@ migration_tags:
   - Drupal 7
   - Content
   - Materio
-deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
 
 source:
   plugin: d7_node_materiau_i18n

BIN
web/themes/custom/matminimal/icon.png