Re: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation... does not contain value for attribute named NeededByEOF0 with snapshot key: NeededByEOF0 [SOLVED]
Re: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation... does not contain value for attribute named NeededByEOF0 with snapshot key: NeededByEOF0 [SOLVED]
- Subject: Re: rowDiffsForAttributes: snapshot in com.webobjects.eoaccess.EODatabaseOperation... does not contain value for attribute named NeededByEOF0 with snapshot key: NeededByEOF0 [SOLVED]
- From: shravan kumar <email@hidden>
- Date: Wed, 10 Sep 2008 21:31:01 -0700 (PDT)
Hello Stephan/ WO Group,
Thanks all for your help, especially Stephan, thanks a lot.
I have successfully fixed this issue.
Solution: I have "set the derived attributes as 'Read Only' in the EOModel for this entity" and my started functioning gloriously.
Cheers,
Shravan
---------------------
--- 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