Hi Alan,

On Mar 30, 2007, at 7:14 AM, Alan Zebchuk wrote:

Does anyone know what would cause the following error and what the solution is?

You are not properly locking all of the editing contexts and / or violating EOF Commandments (Google that term for the details).


er.extensions.ERXApplication (ERXApplication.java:904) - Exception caught: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation {_dbSnapshot = {};

That last bit, _dbSnapshot = {}, is the clue. EOF has no snapshot for the object you are trying to update. You have trashed the EOF state.

Chuck


_entity = "MyEntity"; _newRow = {content = "Some Random Content"; myInteger = 1; oid = 336; }; _object = "<ca.protocolis.entity.MyTestEntity pk:"336">"; _globalID = _EOIntegralKeyGlobalID[MyTestEntity (java.lang.Integer)336]; _databaseOperator = "EODatabaseUpdateOperator"; } does not contain value for attribute named content with snapshot key: content


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to