• 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: Help! valueForKey does not follow relationships?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help! valueForKey does not follow relationships?


  • Subject: Re: Help! valueForKey does not follow relationships?
  • From: Scott Ellsworth <email@hidden>
  • Date: Fri, 11 Apr 2003 19:52:30 -0700

Problem solved!

Thanks much, Art.

The debugger ended up being the critical component - it showed me that both valueForKey and valueForKeyPath were returning the exact same object (at the same address), and that it was empty after the call. Further, the object was the same, regardless of casts and the like.

This made me suspicious, so I went hunting through the original data, and while I would have bet money that the array had valid data, it had a dangling key.

This surprises me, as I did do a test without my custom component earlier today, and got working values. I must assume pilot error, and move on.

Again, thanks much for the help. The docs indicated that savedValueForKey was what I needed, but it was a great help to know that it should have worked. This made it much more likely that it was the data or configuration at fault.

Scott
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Help! valueForKey does not follow relationships? (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Help! valueForKey does not follow relationships?
  • Next by Date: Project Builder documentation
  • Previous by thread: Re: Help! valueForKey does not follow relationships?
  • Next by thread: naming pages
  • Index(es):
    • Date
    • Thread