• 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: CoreData: Inverse relationships not maintained (to-one on one size, to-many on the other, with abstract classes)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData: Inverse relationships not maintained (to-one on one size, to-many on the other, with abstract classes)


  • Subject: Re: CoreData: Inverse relationships not maintained (to-one on one size, to-many on the other, with abstract classes)
  • From: Jim Correia <email@hidden>
  • Date: Tue, 31 May 2005 20:49:45 -0400

I've replaced the previous example with a much simplified version and a new model that should more clearly demonstrate the problem.

Model:

http://homepage.mac.com/jimcorreia/tmp/BrokenInverseRelationships.png

Source:

http://homepage.mac.com/jimcorreia/tmp/BrokenInverseRelationships.zip

If I make a Toybox and two Games, setting the toybox on the Toys doesn't update the inverse relationships.

If instead I make objects from the "flat" portion of the model, a Cupboard and two pans, everything works fine.

Examining the model shows that the inverse relationship for owner was lost somewhere along the way. If you change the define for PATCH_MODEL to 1 and rebuild and run, the relationships in the "complex" portion of the model start working.

Anyone want to convince me this is a stupid error on my part and not a bug before I send it off?

Anyone want to comment on whether the workaround is reasonable?

Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CoreData: Inverse relationships not maintained (to-one on one size, to-many on the other, with abstract classes)
      • From: mmalcolm crawford <email@hidden>
References: 
 >Re: CoreData: Inverse relationships not maintained (to-one on one size, to-many on the other, with abstract classes) (From: John Timmer <email@hidden>)

  • Prev by Date: Re: Non-standard attributes - avoid warning from data model compiler?
  • Next by Date: Pasteboard inspector?
  • Previous by thread: Re: CoreData: Inverse relationships not maintained (to-one on one size, to-many on the other, with abstract classes)
  • Next by thread: Re: CoreData: Inverse relationships not maintained (to-one on one size, to-many on the other, with abstract classes)
  • Index(es):
    • Date
    • Thread