• 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: isTemporaryID unrecognized selector - how do I debug this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isTemporaryID unrecognized selector - how do I debug this?


  • Subject: Re: isTemporaryID unrecognized selector - how do I debug this?
  • From: Gideon King <email@hidden>
  • Date: Sat, 4 Sep 2010 14:25:46 +1000

Brilliant! Found the problem and fixed it. The issue was that I was not registering the inverse of a relationship in a cache node for my atomic store. I was able to track it down by going to the maintainInverseRelationship:forProperty:oldDestination:newDestination: method call in the stack, and finding the entity in register 12.

One line of code and it's fixed.

Thanks again for your help Jerry.

On 04/09/2010, at 1:56 PM, Jerry Krinock wrote:

> -isTemporaryID is implemented in NSManagedObjectID, not NSManagedObject.  I presume that your NMTopicMapViewMO inherits from NSManagedObject.
>
> If you can't find any place in your code where you might be sending -isTemporaryID to a NMTopicMapViewMO, then of course it might be that when the managed object ID goes away, it gets replaced in memory by a NMTopicMapViewMO.  You could do the MallocScribble thing, but time would probably be better spent looking at your code.
>
> Or look further down in that call stack to see how this started.  Do any of those Apple methods mention anything about a relationship delete rule being fulfilled?
>
_______________________________________________

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:
    • Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…
      • From: Jerry Krinock <email@hidden>
References: 
 >isTemporaryID unrecognized selector - how do I debug this? (From: Gideon King <email@hidden>)
 >Re: isTemporaryID unrecognized selector - how do I debug this? (From: Jerry Krinock <email@hidden>)
 >Re: isTemporaryID unrecognized selector - how do I debug this? (From: Gideon King <email@hidden>)
 >Re: isTemporaryID unrecognized selector - how do I debug this? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Fixed pattern with colorWithPatternImage
  • Next by Date: Re: Fixed pattern with colorWithPatternImage
  • Previous by thread: Re: isTemporaryID unrecognized selector - how do I debug this?
  • Next by thread: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…
  • Index(es):
    • Date
    • Thread