Closed (fixed)
Project:
Name Field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2017 at 19:22 UTC
Updated:
17 Mar 2018 at 02:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hussainwebAdd migration upgrade support.
Comment #3
brooke_heaton commentedThis is helpful but could you provide the actual yml format example for how this mapping is handled in the migrate yml?
Comment #4
brooke_heaton commentedOk, so it's fairly intuitive, but as an example for First Name and Last Name fields, my process mapping in my migrate yml, which is working with this patch is:
'field_name/given': first_name
'field_name/family': last_name
so use the machine name of the field followed by the name sub-element
Comment #5
brooke_heaton commentedRBTC for me!
Comment #7
alan d. commentedThanks!
I am a bit green on the internals, but was successfully able to migrate name field data with the patch, so I'm assuming it works :)
Would have been best to test a true D7 name field to D8 name field (field_new_name: field_old_name) for testing, but open a followup issue if there are issues with that :P