Re: NSEntityMigrationPolicy subclass methods not being called
Re: NSEntityMigrationPolicy subclass methods not being called
- Subject: Re: NSEntityMigrationPolicy subclass methods not being called
- From: Jerry Krinock <email@hidden>
- Date: Wed, 8 Sep 2010 06:03:17 -0700
On 2010 Sep 08, at 01:43, Ben wrote:
> I get the following…
>
> NSUnderlyingError = Error Domain=NSCocoaErrorDomain Code=256 UserInfo=0x1ec540 "Operation could not be completed. (Cocoa error 256.)";
> reason = "Failed to save new store after first pass of migration.";
Nice-looking error, but I've never seen it before either.
> My first thought was that maybe I had to call 'super' in 'endEntityMapping', but I tried it and it made no difference…
My second thought would be to eliminate all methods in your implementation, like this:
@implementation TestMigrationPolicy
#if 0
…
#endif
@end
What happens if make that your Custom Migration Policy class?
_______________________________________________
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