Re: to-many is null?
Re: to-many is null?
- Subject: Re: to-many is null?
- From: Jonathan Rochkind <email@hidden>
- Date: Mon, 11 Aug 2003 13:34:53 -0500
Nevermind, I figured it out. The EO in question was one of those weird
'fake' EOs that result from following a to-one relationship where the
destination is missing in the db. Hmm.
At 01:09 PM 8/11/2003 -0500, you wrote:
I am over-riding both awakeFromInsertion and awakeFromFetch, but I DO call
the superclass implementation. So that's not it.
But I have an EO, fetched from the db, and when you call a to-many array
on that EO, you get 'null'. Instead of an empty array. I believe this
isn't supposed to happen; the contract of an EO is to always return an
array for a to-many relationship, possibly an empty array, but never null.
Any ideas what could be causing this?
--Jonathan
_______________________________________________
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.
_______________________________________________
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.