Closed (fixed)
Project:
Drupal core
Version:
8.1.x-dev
Component:
migration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Apr 2016 at 09:30 UTC
Updated:
9 Sep 2016 at 13:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jofitzAdd a
rollback()function to theEntityFieldInstanceclass.Comment #3
mikeryanLet's have a test-only patch demonstrating the failure.
Looking more carefully, I'm not sure why we're using a multi-column destination key here in the first place (array('node', 'article', 'field_foo')) rather than using the ID as it's understood by the entity system ('node.article.field_foo'). I.e., couldn't we implement getEntityId() like EntityBaseFieldOverride does, instead of getIds()? EntityConfigBase::import() would need some adjustment, but ultimately I think the whole thing will be simpler (including not having overridden rollback() implementations).
Comment #4
jofitzAdd a test to demonstrate the failure.
Comment #7
mikeryanTested locally on 8.2.x, works fine, patch looks good!
Comment #8
alexpottCommitted and pushed 7f5305b to 8.3.x and f73729a to 8.2.x and 08aceee to 8.1.x. Thanks!