When upgrading nodereference from D6, I would like to get entity references.
Is that possible? Is there an upgrade path?
Or do I have to first work with references modules when upgrading, and then add new entity reference fields and give values with vbo or rules?
Or which other module could help me?
Or do I have to make own module to get that result?

Comments

Encarte’s picture

Status: Active » Closed (duplicate)
aharown07’s picture

Status: Closed (duplicate) » Active

Reopening. This question is not related to 1308490, which has to do w/the references module.
The question here is how might one go about migrating from D6 nodereference module and user reference module?

More specifically, in my case, I have a bunch of custom nodes in D6 that have node reference fields. Is there a way, when I go to D7, to migrate the relationships these created in D6 to entity reference relationships in D7?

heldercor’s picture

Agreed. I am researching into that too. Seems a stretch to migrate to references and then from references to entity reference. Would be best to cut the middle man.

valthebald’s picture

Status: Active » Closed (duplicate)
rakugaki’s picture

Issue summary: View changes
Status: Closed (duplicate) » Active

entityreference_migration is for migration from http://drupal.org/project/references to https://drupal.org/project/entityreference

the issue here is with direct migration from drupal 6 https://drupal.org/project/cck (nodereference) to https://drupal.org/project/entityreference

this works for single refernces:

$query->join($this->drupal_6_database . '.content_field_media_blog_species_ref', 'animalref', 'n.vid = animalref.vid');
$query->addField('animalref','field_media_blog_species_ref_nid');
$this->addFieldMapping('field_animal','field_media_blog_species_ref_nid');

but not with multiple references