Re: [off-list] Re: CoreData: Editing a model with XCode corrupts reflefive relationships
Re: [off-list] Re: CoreData: Editing a model with XCode corrupts reflefive relationships
- Subject: Re: [off-list] Re: CoreData: Editing a model with XCode corrupts reflefive relationships
- From: Frank Illenberger <email@hidden>
- Date: Mon, 18 Jul 2005 23:12:02 +0200
Am 18.07.2005 um 23:09 schrieb Jim Correia:
On Jul 18, 2005, at 4:51 PM, Frank Illenberger wrote:
has anybody already observed the following phenomenon?
I have an entity that uses a reflexive relationship for building a
tree. Until now this relationship worked fine. But if I now add
another isolated entity to my model, this relationship stops
working. This means, that an object add to one side of the
relationship is not automatically put into the other side. It
seems as if the model file has been damaged because even if I
revert to the old model state by pressing undo in the XCode model
editor, the wrong behaviour stays. Only if I revert to a backup
copy of my model file, the said relationship starts working again.
What does your model look like. Do you use any entity inheritance
(called parent in the UI)?
I ran into a problem with a previous layout of my model, and filed
a bug. I was able to work around it by modifying the model at
runtime before passing it to the persistent store coordinator.
Jim
Yes, I am using entity inheritance. The base entity contains the
reflexive relationship that gets damaged.
What exactly did you change in the model at runtime to make it work?
Frank
_______________________________________________
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