• 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
EOCustomObject valueForKey avoiding infinite recursion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOCustomObject valueForKey avoiding infinite recursion


  • Subject: EOCustomObject valueForKey avoiding infinite recursion
  • From: John Pollard <email@hidden>
  • Date: Thu, 11 Sep 2014 14:55:16 +0100

Hi List,

In some debugging within takeValueForKey() I want to find out if the key already has a value set. If I call valueForKey() or storedValueForKey() and the value isn't already set I get infinite recursion as it triggers a fault and tries to load with takeValueForKey() and so on.

I am trying to debug where a value is being set to null, but apparently not going via validateXXX() or setXXX() methods, so I want to trap the case where the takeValueForKey() is passed null when the key value was previously non-null and log a stack trace.

Thanks
John
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: EOCustomObject valueForKey avoiding infinite recursion
      • From: John Huss <email@hidden>
    • Re: EOCustomObject valueForKey avoiding infinite recursion
      • From: Ray Kiddy <email@hidden>
  • Prev by Date: How to kill session from session store by using SessionID?
  • Next by Date: Re: maven.wocommunity.org is down
  • Previous by thread: How to kill session from session store by using SessionID?
  • Next by thread: Re: EOCustomObject valueForKey avoiding infinite recursion
  • Index(es):
    • Date
    • Thread