Re: Help! valueForKey does not follow relationships?
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.