I added one of the inverse relationships back in, and using ERXEC to
create the new editing context I do NOT get the error.
Just to make sure everything else was the same, I changed back to
using "new EOEditingContext" to create the editing context, and the
error returns. So, whatever is causing the following exception:
java.lang.IllegalStateException: Attempt to access an EO that has
either not been inserted into any EOEditingContext or its
EOEditingContext has already been disposed
using ERXEC solves it.
Jeff
On Aug 6, 2008, at 2:10 PM, Mike Schrag wrote:
Yep, that's what I did, as well as removing the offending "inverse"
relationships. I changed to the ERXEC.newEditingContext originally
to get rid of the "you don't have a delegate" error. What I didn't
try was adding the "inverse" relationships back in while using
ERXEC to create the new editing context, since for now I don't use
the inverse links anyway. I may need them in the future though so
might be interesting to add them back and see what happens. I'll
let you know.
For the sake of science, I would be very interested to know if this
works ...
ms
_______________________________________________
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/jeffandmonica%40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
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]