Re: IllegalStateException: undo: undo manager is in invalid state - Huh?
Re: IllegalStateException: undo: undo manager is in invalid state - Huh?
- Subject: Re: IllegalStateException: undo: undo manager is in invalid state - Huh?
- From: Nick Pilch <email@hidden>
- Date: Mon, 28 Apr 2003 09:09:06 -0700
I'm not sure how this would work in a Java Client app. A call to
EOEditingContext.saveChanges() on the client probably invokes a
saveChanges() on the server, but it all happens behind your back.
At 2:28 PM -0700 4/25/03, Chuck Hill wrote:
another thing to try is to call
editingContext().undoManager().removeAllActions() after a successful
saveChanges().
Chuck
At 02:09 PM 25/04/2003 -0700, Nick Pilch wrote:
I can't help you with the source of the problem, but I can
sympathize. My users get this very occasionally, and I have no idea
why.
I do know this: EOEditingContexts use an undo manager, so what you're
seeing is most likely an internal WO problem. I've tried setting the
undo manager for my java client's session's default editing context
on the server to null (or the levels of undo to 0 - I can't remember
which), but I got a warning on the console from WO that it definitely
needed the undo manager to function correctly for Java Client stuff.
--
Nick Pilch / email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Nick Pilch / email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.