Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The migration doesn't currently take into the account language of host entity.
This might have been introduced with one of the patches I am rolling with below:
projects[field_collection][version] = 1.x-dev
projects[field_collection][subdir] = contrib
projects[field_collection][download][type] = git
projects[field_collection][download][revision] = ae778f2
projects[field_collection][download][branch] = 7.x-1.x
projects[field_collection][patch][1344672] = http://drupal.org/files/issues/field_collection-et-1344672-187.patch
projects[field_collection][patch][2075325] = http://drupal.org/files/issues/field_collection-field_collection_uuid-2075325-3.patch
Comment | File | Size | Author |
---|---|---|---|
#2 | migration_field_collection-2298877-02.patch | 806 bytes | marco.pagliarulo |
#1 | migration_field_collection-2298877-01.patch | 792 bytes | sylus |
Comments
Comment #1
sylus CreditAttribution: sylus commentedAttaching patch.
Comment #2
marco.pagliarulo CreditAttribution: marco.pagliarulo as a volunteer commentedIn the patch #1 $entity->setHostEntity($this->hostEntityType) is wrong, the host entity is required. As attachment the patch fixed
Comment #3
sylus CreditAttribution: sylus commentedOh your right I only ever set the language so didn't notice the other case was failing. Thanks for the catch and seems to work for both now!
Comment #5
jmuzz CreditAttribution: jmuzz commentedThanks for the patch.