• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: snapshot does not contain value for attribute named x with snapshot key: x ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: snapshot does not contain value for attribute named x with snapshot key: x ?


  • Subject: Re: snapshot does not contain value for attribute named x with snapshot key: x ?
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 30 Mar 2007 07:42:45 -0700

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >snapshot does not contain value for attribute named x with snapshot key: x ? (From: Alan Zebchuk <email@hidden>)

  • Prev by Date: Re: snapshot does not contain value for attribute named x with snapshot key: x ?
  • Next by Date: Re: Network change
  • Previous by thread: Re: snapshot does not contain value for attribute named x with snapshot key: x ?
  • Next by thread: Best non-Apple platform for WO?
  • Index(es):
    • Date
    • Thread