Hi there,
When using the experimental Profile Entity Processor it is required to specify the owner of the Profiles in the Processor Settings. The note there states that the value can be overriden with mapping.
I set a mapping from [uid] to [user] (owner of the Profile), but it gets clobbered and the value set in Processor Settings is used for the uid in all imported Profiles.
EDIT: WORKAROUND
1. Set a mapping from [uid] to [label]
2. After import, change the data in the database with update profile set uid = label;
then update profile set label = 'Profile main';
(or whatever corresponds to your Profile Type)
Note that this will only work if you have no other Profiles in the DB that you care about.
( Note also if you are here trying to migrate old Location address data into a new AddressField field in a Profile, you have to import the country codes as is (lower case) **then** change them to upper case in the DB with update field_data_field_yourfieldname set field_yourfieldname_country = upper(field_yourfieldname_country);
. Address Field will not allow the country codes to be imported into the DB in upper case, but then it requires upper case codes to display country names and thus the following components. [?] )
Comments
Comment #1
Channel Islander CreditAttribution: Channel Islander commentedComment #2
Channel Islander CreditAttribution: Channel Islander commentedComment #3
MegaChriz CreditAttribution: MegaChriz commentedMoved to component "Generic entity processor", so all the issues about the experimental processors can be grouped together.
Comment #4
MegaChriz CreditAttribution: MegaChriz commentedMoving to the Feeds entity processor project, the new home for the generic entity processor.
Comment #5
iaminawe CreditAttribution: iaminawe commentedI can confirm that this is still an issue as the uid in the csv file is ignored and replaced with the default uid.
As I have multiple profile types the workaround above will not work for me.
Any ideas would be welcome as I have been hammering at this for a while. Thanks
Comment #6
maen CreditAttribution: maen as a volunteer commentedSorry but where do I know the uid from csv before loading the users, then exporting them, then replace the user dump with the csv export????