Re: Owns Destination & Deny
Re: Owns Destination & Deny
- Subject: Re: Owns Destination & Deny
- From: Stamenkovic Florijan <email@hidden>
- Date: Fri, 06 Mar 2009 15:23:03 -0400
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden