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 (Cocoa-dev@lists.apple.com)

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