• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CoreData abstract entity migration issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: CoreData abstract entity migration issue
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: [iPhone] UIButton adding glow effect for a custom button with image
  • Next by Date: How to customize the slider in Tableview
  • Previous by thread: Re: nstableview text selection
  • Next by thread: Re: CoreData abstract entity migration issue
  • Index(es):
    • Date
    • Thread