• 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: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation... does not contain value for attribute named NeededByEOF0 with snapshot key: NeededByEOF0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation... does not contain value for attribute named NeededByEOF0 with snapshot key: NeededByEOF0


  • Subject: Re: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation... does not contain value for attribute named NeededByEOF0 with snapshot key: NeededByEOF0
  • From: shravan kumar <email@hidden>
  • Date: Thu, 4 Sep 2008 21:32:22 -0700 (PDT)

Hello Stephane,

Thanks for your prompt reply. I am exploring this issue in the manner you have advised.

Meanwhile, below are my findings from app:

The EmpCls entity in problem has couple of flattened attributes; flattened from a to-many relationship. The app was working fine in various other flows of fetching and creating new object. But in a scenario where we tried to update 'isActv' attribute value, we encountered this error.

The same code in my development machine working fine, of course data in my database is little bit different from Live data, as usually, but this same flow failed to operate in deployed Live app.

Please advise.

Thank You,
Shravan Kumar. M
---------------------------------


--- On Thu, 9/4/08, Stephane Guyot <email@hidden> wrote:

> From: Stephane Guyot <email@hidden>
> Subject: Re: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation... does not contain value for attribute named NeededByEOF0 with snapshot key: NeededByEOF0
> To: "WebObjects Development" <email@hidden>
> Cc: email@hidden
> Date: Thursday, September 4, 2008, 11:09 PM
> Hi Shravan,
>
> i think your trouble is the consequence of "Missing
> Fault Handler".
> Are you using propagate primary key in your model for a
> relationship ?
>
> You can Google "Missing Fault Handler"
> Read that :
> http://developer.apple.com/documentation/WebObjects/
> Reference/API5.2.4/com/webobjects/eoaccess/
> EODatabaseContext.html#missingObjectGlobalIDs()
> and try " implement the delegate method
> databaseContextFailedToFetchObject."
>
> You can Google "NeededByEOF0 "
>
> Read that :
> http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/
> Using_EOF/Problems
>
> HTH,
>
>   Stephane
>
>
> Le 4 sept. 08 à 13:05, shravan kumar a écrit :
>
> > Hello Group,
> >
> > Can any one advise me what could be reason for this
> error and a
> > resolution for the same asap:
> >
> > rowDiffsForAttributes: snapshot in
> > com.webobjects.eoaccess.EODatabaseOperation
> {_dbSnapshot = {clsGdID
> > =
> <com.webobjects.foundation.NSKeyValueCoding$Null>;
> clsID = 9512;
> > clsNme = "Mat yt"; clsNum = "608";
> clsRom =
> >
> <com.webobjects.foundation.NSKeyValueCoding$Null>;
> clsSec = "1";
> > distID = 192; empFName = "MAR"; empLName =
> "BANET"; empNum = "178";
> > isActv = 0; schID = 234; }; _entity =
> "EmpCls"; _newRow = {clsGdID
> > =
> <com.webobjects.foundation.NSKeyValueCoding$Null>;
> clsID = 9512;
> > clsNme = "Mat yt"; clsNum = "608";
> clsRom =
> >
> <com.webobjects.foundation.NSKeyValueCoding$Null>;
> clsSec = "1";
> > distID = 192; empFName = "MAR"; empLName =
> "BANET"; empNum = "178";
> > isActv = 1; schID = 234; }; _object = "{values =
> {clsNum = "608";
> > empNum = "178"; clsNme = "Mat yt";
> emps =
> >
> "<com.webobjects.eocontrol._EOCheapCopyMutableArray
> 1cefde4
> > (<EOAccessArrayFaultHandler emps
> _EOIntegralKeyGlobalID[EmpCls
> > (java.lang.Integer)862]>)>"; empLName =
> "BANET"; clsRom =
> >
> <com.webobjects.foundation.NSKeyValueCoding$Null>;
> clsSec = "1";
> > dist = "<Dist 1555185
> (com.webobjects.eoaccess.EOAccessFaultHandler
> > _EOIntegralKeyGlobalID[District
> (java.lang.Integer)192])>"; isActv
> > = 1; empFName = "MARION"; sch =
> "<Sch 1c19919 _EOIntegralKeyGlobalID
> > [Sch (java.lang.Integer)234]>"; grd =
> "null"; }; this = "<EmpCls
> > 191777e _EOIntegralKeyGlobalID[EmpCls
> (java.lang.Integer)8512562]
> > >"; }"; _adaptorOps = ({_qualifier =
> "((clsID = 9512) and (schID =
> > 234) and ( clsNme = 'Mat yt') and (clsNum =
> '608') and (clsSec =
> > '1') and (clsRom = null) and (clsGdID = null)
> and (distID = 1682)
> > and (empNum = '178') and (isActv = 0))";
> _adaptorOperator =
> > "EOAdaptorUpdateOperator"; _entity =
> "EmpCls"; _changedValues =
> > {(isActv = 1; }; }); _globalID =
> _EOIntegralKeyGlobalID[EmpCls
> > (java.lang.Integer)8512562]; _databaseOperator =
> > "EODatabaseUpdateOperator"; } does not
> contain value for attribute
> > named NeededByEOF0 with snapshot key: NeededByEOF0
> > --
> > Thank You
> > Shravan Kumar. M
> > -----------------------------------
> >
> >  _______________________________________________
> > Do not post admin requests to the list. They will be
> ignored.
> > Webobjects-dev mailing list
> (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
>
> > email@hidden
> >
> > This email sent to email@hidden



 _______________________________________________
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: 
 >Re: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation... does not contain value for attribute named NeededByEOF0 with snapshot key: NeededByEOF0 (From: Stephane Guyot <email@hidden>)

  • Prev by Date: Re: new Session being created
  • Next by Date: Re: new Session being created
  • Previous by thread: Re: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation... does not contain value for attribute named NeededByEOF0 with snapshot key: NeededByEOF0
  • Next by thread: Re: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation... does not contain value for attribute named NeededByEOF0 with snapshot key: NeededByEOF0 [SOLVED]
  • Index(es):
    • Date
    • Thread