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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to