On May 27, 2010, at 8:09 AM, Pascal Robert wrote:


Le 10-05-27 à 11:01, Chuck Hill a écrit :


On May 27, 2010, at 7:26 AM, Pascal Robert wrote:

We have a strange problem here where a relation between two EOs get "lost" (eg, the relation is set to null). Since it's a public app, we can't easily find out under which circumstances the problem get in. I enabled logging in the EOs so that I can at least see if the relation is set to null, but that won't tell me where it was set to null.

Is it possible that there was supposed to be a DELETE operation instead of an UPDATE? See the attached class. I thought Wonder fixed this.

Might be, I will enable EOAdaptorDebugEnabled again to see if it's the case. BTW, this is with WO 5.3.3.

That won't show the delete. That will just show the UPDATE. If you add a log message before and after the saveChanges(), you can see if anything gets fetched.

Chuck



What's the best way to "record" the steps that an user is doing? I guess that I can add log4j calls in all the steps, but I was wondering if an easier solution exists.

----
Pascal Robert
[email protected]

AIM: MacTICanada
Twitter : MacTICanada
LinkedIn : http://www.linkedin.com/in/macti
WO Community profile : http://wocommunity.org/page/member?name=probert

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [email protected]

--
Chuck Hill             Senior Consultant / VP Development

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









--
Chuck Hill             Senior Consultant / VP Development

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to