• 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
Re: Core Data migration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data migration


  • Subject: Re: Core Data migration
  • From: Paul Collins <email@hidden>
  • Date: Sat, 20 Sep 2008 16:10:17 -0700

Back on March 29 2008, Mr. Wilson reported a problem with migration that I seem to be having now. To wit, a core data model that includes an abstract entity and entity inheritance fails to be migrated on OS X 10.5.

I'm getting different errors than he reported. I created a mapping model from the previous to the new data model. Finding, as Mr. Wilson did, a empty property mapping involving an abstract entity, I created a mapping for the abstract entity and related the property mapping to it.

When I attempt automatic migration (NSMigratePersistentStoresAutomaticallyOption), I get "Persistent store migration failed, missing mapping model." Alternatively, when I manually select the mapping model, NSMappingModel mappingMOdelFromBundles:forSourceModes:destinationModel: does give me my mapping model, but migrateStoreFromURL returns an NSError: Domain=NSCocoaErrorDomain Code=134110 UserInfo=0x80e25b0 "An error occured during persistent store migration."

If there's a workaround for this, I'd sure love to hear it.

Best regards,

Paul Collins
Gracion Software


_______________________________________________

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: Core Data migration
      • From: Timothy Larkin <email@hidden>
  • Prev by Date: [Moderator] Re: cocoa, Iphone and NDA
  • Next by Date: Re: cocoa, Iphone and NDA
  • Previous by thread: Re: cocoa, Iphone and NDA
  • Next by thread: Re: Core Data migration
  • Index(es):
    • Date
    • Thread