Active
Project:
Drupal-to-Drupal data migration
Version:
7.x-2.x-dev
Component:
D6-specific
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2014 at 18:34 UTC
Updated:
7 Mar 2019 at 14:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bisonbleu commentedI have the same issue and strongly second this request.
I've long looked for a migrate_d2d way of importing Drupal 6 content_profile fields into Drupal 7 profile2 fields. No luck yet and/or I can't figure it out.
Is there a way to do this through the migrate_d2d UI ?
Here are a few interesting references. #1 has the most details but it requires that you create a csv file with all the required data as well as a module. I can already import Users and Roles with migrate_d2d. Would be nice to just extend this to include content_profile to profile2 migration. #2 seems related; still investigating.
Comment #2
iaminawe commentedI am also interested in being able to do the content profile to profile2 migration process by extending the existing d2d classes to allow the profile types and fields to show up as destination fields to map the source fields from the d6 site to in the ui
I think as per the instructions here https://www.drupal.org/node/1819738 we would be looking to extend the existing Drupal 6 User migration class and then we would be including the content profile table in our query but this is as far as I have managed to get
I would be interested to hear @bisonbleu if you ever made any further progress with this
Thanks
Comment #3
bisonbleu commentedHey @iaminawe,
Looking back at my notes from a year ago, here's what I think I ended up doing.
I gave up looking for a one-pass fully automated solution and went the Migrate way.
I first exported D6 content profile data to a .csv file (using views_data_export) and manually added a column with the matching D7 UIDs; users & roles which I had migrated earlier.
Then I created a custom module (based on the excellent Cookbook referenced in #1) with which to import my .csv file with Migrate (admin/content/migrate/).
So, a little more convoluted, but in the end it all worked out.
Comment #4
iaminawe commentedThanks for responding with what worked for you - that approach looked comprehensive and I have not attempted it yet as I was hoping to avoid going through the csv export step as well as also avoiding the need for a second user migration to be run (aside from the ui one)
I thought using the d2d ui was still using the "migrate" way but with a bit of a head start on doing it all in a custom module
Ideally I thought we would be able to extend the users import class thats part of the ui using the custom module to then allow different profile entity fields to be targeted as destinations in the mapping interface.
I still think this would be a valuable feature to add to the d2d ui but it looks like for now I may need to go the csv and cookbook route
Thanks again
Comment #5
mikeryanAre you using migrate_extras? It provides a destination handler for profile2.
Comment #6
roball commentedWouldn't it be better to move support for Profile 2 destination fields away from the Migrate Extras into the Drupal-to-Drupal data migration module? The latter already supports D6 Content Profile source fields, and Profile 2 fields are the successor of those fields in D7.
Comment #7
rcodinaI agree with @roball
Comment #8
zythyr commentedI am trying to migrate Content Profile fields in D6 to Profile2 fields in D7 using Migrate D2D UI. I am able to see the Content Profile fields (source) but I am unable to see any Profile2 fields in the destination for mapping.
I also tried to enabled the migrate_extras module, but I am still not seeing the Profile2 fields for destinations in the Migrate D2D UI.
Please add support in Migrate D2D UI for mapping into Profile2 fields into destination. I would love to have this feature!
Comment #9
aitala commentedSame problem as @Zythyr in #8...
Eric