editingContext.deleteObject(object) immediately destroys relationships?
editingContext.deleteObject(object) immediately destroys relationships?
- Subject: editingContext.deleteObject(object) immediately destroys relationships?
- From: Miguel Arroz <email@hidden>
- Date: Mon, 9 Apr 2007 01:49:07 +0100
Hi!
I'm having a very very strange bug here.
I have a context where I store some objects but I do not save it
yet. Specifically I have one object that was created, and has
relationships with other objects, but it's still not stored on the DB.
Depending on what the user does, that object may be deleted again
(before it's saved to DB).
The problem is that after deleting it, apparently it's still
showing up on some relationships. IE, object A is related to B. I
delete B, but A still has B in it's b() array. Is this normal?
Even more strange, after a page reload (again, with no context
saving) it apparently disappears from A's b() array.
What the heck is happening here?
Yours
Miguel Arroz
"I felt like putting a bullet between
the eyes of every Panda that wouldn't
scr*w to save its species." -- Fight Club
Miguel Arroz
http://www.ipragma.com
_______________________________________________
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