Snapshot problems SOLVED, FOR REAL, NO JOKE
Snapshot problems SOLVED, FOR REAL, NO JOKE
- Subject: Snapshot problems SOLVED, FOR REAL, NO JOKE
- From: Steven Mark McCraw <email@hidden>
- Date: Sun, 22 Apr 2007 15:27:43 -0400
Holy crap, people! I finally got the stupid code to work without any hacks! Ok, I'm excited because it's finally working, but things still may be broken all over the place. I haven't tested extensively yet. The problem? NESTING THE EDITING CONTEXT. I'm not kidding. It was a matter of changing
ERXEC.newEditingContext(session.defaultEditingContext())
to
ERXEC.newEditingContext();
And if you're using Project Wonder's automatic locking, there are no problems (that I've found) with needing to lock. Heck, I imagine you could keep an editing context in session like I was doing earlier and lock and unlock in awake/sleep as long as it wasn't nested in the session's default ec (although I have not bothered to verify this yet).
Thanks everybody!
Mark |
_______________________________________________
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