Re: isTemporaryID unrecognized selector - how do I debug this?
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