CoreData abstract entity migration issue
CoreData abstract entity migration issue
- Subject: CoreData abstract entity migration issue
- From: "email@hidden" <email@hidden>
- Date: Sun, 22 Nov 2009 11:39:52 +0000
I have a very simple object model that contains, along with 4 or 5 others, an abstract entity.
The app uses NSPersistentDocument.
I have created a new model version that changes a transient property to a modelled property in an entity derived from the above abstract entity.
I have created my mapping model and configured the PSC with NSMigratePersistentStoresAutomaticallyOption.
Migration always fails with multiple validation errors.
Looking at the data mapping model I can see that the abstract class is not represented.
Is this to be expected?
Is migration of abstract entities troublesome?
Some web statements state a that a mapped migration of abstract entities is not supported. Some other evidence that it is.
A different model change - adding a simple BOOL attribute - also fails.
Will a manual editing of the mapping model to represent the abstract entity help?
Regards
Jonathan Mitchell
Developer
http://www.mugginsoft.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden