• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: horizontal inheritance oddity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >horizontal inheritance oddity (From: Mike Schrag <email@hidden>)
 >Re: horizontal inheritance oddity (From: Chuck Hill <email@hidden>)
 >Re: horizontal inheritance oddity (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: horizontal inheritance oddity
  • Next by Date: Re: Really weird NOSuchMethodException editingContextShouldFetchObjects on class:Session
  • Previous by thread: Re: horizontal inheritance oddity
  • Next by thread: Re: horizontal inheritance oddity
  • Index(es):
    • Date
    • Thread