From e22a98588517cc1c726d5d8189cf053f08e6615c Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Thu, 2 Sep 2021 17:26:39 -0300 Subject: [PATCH] Part type mapping. --- .../migrations/dgis_nodes.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/dgi_migrate_foxml_standard_mods/migrations/dgis_nodes.yml b/modules/dgi_migrate_foxml_standard_mods/migrations/dgis_nodes.yml index 08b470fc..37678d2f 100644 --- a/modules/dgi_migrate_foxml_standard_mods/migrations/dgis_nodes.yml +++ b/modules/dgi_migrate_foxml_standard_mods/migrations/dgis_nodes.yml @@ -1031,6 +1031,17 @@ process: - plugin: multiple_values - plugin: dgi_migrate.subproperty property: nodeValue + - plugin: skip_on_empty + method: process + - plugin: entity_lookup + bundle_key: vid + bundle: part_type + value_key: name + entity_type: taxonomy_term + ignore_case: true + - plugin: skip_on_empty + method: row + message: "Failed to map the part 'type' attribute." field_start: - << : *nested_mods_node query: 'mods:extent/mods:start'