Change Object in EOSharedEditingContext
Change Object in EOSharedEditingContext
- Subject: Change Object in EOSharedEditingContext
- From: "Xia, Wen" <email@hidden>
- Date: Fri, 19 Mar 2004 16:38:25 -0800
I have a fetch spec that returns the results from the database into a
NSMutableArray array1. When I try to manipulate the data in array1 (not
update to the database), I always get the error of
java.lang.IllegalArgumentException: attempt to change object in a shared
editing context. I tried to create array2 using array2 =
array1.mutableClone(), and manipulate data in array2 instead, the same
problem persists. Does that mean array2 is still under the control of
EOSharedEditingContext? I don't quite understand how this works. How do I
get around with it? Appreciate your help. -- Wen
_______________________________________________
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.