Re: horizontal inheritance oddity
Re: horizontal inheritance oddity
- Subject: Re: horizontal inheritance oddity
- From: Sacha Michel Mallais <email@hidden>
- Date: Thu, 25 May 2006 09:04:37 -0700
On May 24, 2006, at 9:55 PM, Mike Schrag wrote:
The moral? If you ever do cross-model inheritance, be damn sure
your connection dictionaries are EXACTLY equal. I'm tempted to add
a check into Project Wonder that if two models have the same URL
and User but the full connection dictionaries are not .equals=true,
then it should throw an exception by default. I suspect 99% of the
time this scenario is undesirable and will just result in strange
problems like I had the pleasure of enjoying.
One way to avoid this is to programmatically set the connection
dictionary at launch. This is pretty much required anyway if you
have reusable frameworks with EOModels.
sacha
--
Sacha Michel Mallais Senior SeƱor / President
Global Village Consulting Inc. http://www.global-village.net/
PGP Key ID: 7D757B65 AIM: smallais
Any sufficiently advanced satire is indistinguishable from reality.
_______________________________________________
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