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

Channel Islander’s picture

Issue summary: View changes
Channel Islander’s picture

Issue summary: View changes
MegaChriz’s picture

Component: Code » Generic entity processor

Moved to component "Generic entity processor", so all the issues about the experimental processors can be grouped together.

MegaChriz’s picture

Project: Feeds » Feeds entity processor
Version: 7.x-2.x-dev » 7.x-1.x-dev
Component: Generic entity processor » Code

Moving to the Feeds entity processor project, the new home for the generic entity processor.

iaminawe’s picture

I 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

maen’s picture

Sorry 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????