Closed (duplicate)
Project:
Address Field
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2012 at 20:49 UTC
Updated:
28 Feb 2013 at 02:10 UTC
I have a csv file from a different cms(custom) and i need to import customer profiles. The commerce feeds imports additional fields but not address field like first and last name.
if i dsm the profile which is going to be insertes in this function in commerce customer profile commerce_customer_profile_save($profile) the last and first name values are there. but when i goes to edit the inserted profile these fields are empty
Any ideas why this is happening?
Comments
Comment #1
dianikol commentedThe problem was with the addressfield module. If one of the required field is missing then it doesn't fill in the others. My workaround is this code in
addressfield_set_target($source, $entity, $target, $value) function in addressfield module
Comment #2
pcambraAddressfield feeds integration lives in addressfield, you probably need to patch it there.
Comment #3
pcambraComment #4
johnvbetter title.
You are using Commerce Feeds ?
Perhaps this issue belongs in that project, then.
Comment #5
johnvOK, so you posted the same issue twice :-)
#1868260: Unable to save customer address fields upon import with Commerce Feeds.
Comment #6
dianikol commentedMust be done by accident. Sorry :)