Closed (fixed)
Project:
Migrate
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2012 at 18:49 UTC
Updated:
7 May 2012 at 23:10 UTC
I've run into a situation where errors were thrown in a complete() handler, for users and comments. Beyond the error itself, it caused me all sorts of grief:
So, we need to find a way to prevent the inconsistent state of entities being created by migration but not recorded in the map table. Either convert the errors to informational messages and proceed down the normal "success" path, or delete the created entity then and there...
Comments
Comment #1
mikeryanOK, any exceptions thrown in complete() will now be cleanly saved to the message table, not affecting the imported status of the entity.