• 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: NSEntityMigrationPolicy subclass methods not being called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSEntityMigrationPolicy subclass methods not being called (From: Ben <email@hidden>)
 >Re: NSEntityMigrationPolicy subclass methods not being called (From: Ben <email@hidden>)

  • Prev by Date: Core Data and Managed Object Context Question
  • Next by Date: delayed NSWorkspaceDidTerminateApplicationNotification under 10.6?
  • Previous by thread: Re: NSEntityMigrationPolicy subclass methods not being called
  • Next by thread: Re: Phone lock/sounds
  • Index(es):
    • Date
    • Thread