The entity reference field in the field collection cannot be imported.
I have a field collection that contains a entity reference field, when import use node_export and field_collection_deploy, the entity reference field cannot be imported. After some investigation, I found that it is caused by a bug in function field_collection_deploy_update_entity_reference, I have created a path to solve this issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

flyingkiki’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
flyingkiki’s picture

patrickharris’s picture

This patch worked for me.

  • Commit 2ef6d82 on 7.x-1.x authored by flyingkiki, committed by Robert Castelo:
    Issue #2126289 by flyingkiki: Entity reference field in field collection...

  • Commit 2ef6d82 on master, 7.x-1.x authored by flyingkiki, committed by Robert Castelo:
    Issue #2126289 by flyingkiki: Entity reference field in field collection...
Robert Castelo’s picture

Status: Needs review » Fixed

Thanks for the patch, added to 7.x-1.0-beta2.

Should now be working.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.