On Mar 06, 2009, at 11:00, David Avendasora wrote:

Is it just that if you set the required Parent relationship on the Child to null you won't get a validation error when you save because the Child will get deleted before validation rules are applied to it?

That's what I'd expect in a setup you described. For that particular action (un-relating the Child EO) I would expect Owns Relationship to override the fact that the "parent" relationship is mandatory. This still does not render the mandatory aspect meaningless because it ensures you can't initially save the Child without the "parent" relationship being set.

Are you observing a different behavior, or was this hypothetical?

I think I just answered my own question.

Guess so. Sometimes typing it out helps :)

F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to