CoreDataKit icon indicating copy to clipboard operation
CoreDataKit copied to clipboard

Importing incorrect data corrupts the context

Open mac-cain13 opened this issue 10 years ago • 0 comments

Importing incorrect data corrupts the context, if you still save the context hell will break loose. So I think importing should happen in a seperate child context and the user should have control over what happens;

  • Reject the whole import (no effect on the current context)
  • Reject just the corrupt entities (valid entities are put into the context)

mac-cain13 avatar Jan 06 '15 08:01 mac-cain13