Once the parent issue is in and we want field handling, we can replace entity.php with this to add field handling. Rolling a patch was too complicated.

CommentFileSizeAuthor
#3 migrate_entity-3.patch1.88 KBandypost
entity.php_.txt4.23 KBchx

Comments

chx’s picture

andypost’s picture

Is there a way to determine the need to create or update entity?

andypost’s picture

Status: Active » Needs review
StatusFileSize
new1.88 KB

Initial working code, taxonomy terms are imported fine

chx’s picture

Project: Drupal core » IMP
Version: 8.x-dev »
Component: migration system » Code
chx’s picture

This patch is off topic for this issue. There is #2169999: Allow for entity updates during migrations and it begins to explore a real lot of difficulties.

benjy’s picture

Status: Needs review » Fixed

I believe this has been added and most of the code found its way into EntityContentBase.

Status: Fixed » Closed (fixed)

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