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 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