AW: Weird Behaviour...
AW: Weird Behaviour...
- Subject: AW: Weird Behaviour...
- From: "Ruenagel, Frank" <email@hidden>
- Date: Mon, 05 Dec 2011 16:45:37 +0100
- Thread-topic: Weird Behaviour...
Hi,
typically this is a result of a free-floating EO not included in any EC.
Use EOUtilities.createAndInsertInstance(ec, "myNewEntitiesName");
See: http://en.wikibooks.org/wiki/WebObjects/Database_Development
Switch on Database logging to see what EOF does:
NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupDatabaseAccess);
Regards
Frank
-----Ursprüngliche Nachricht-----
Von: webobjects-dev-bounces+webobjects=email@hidden [mailto:webobjects-dev-bounces+webobjects=email@hidden] Im Auftrag von Calven Eggert
Bereitgestellt: Montag, 5. Dezember 2011 15:35
Bereitgestellt in: WebObjects
Unterhaltung: Weird Behaviour...
Betreff: Weird Behaviour...
Hi, All
I'm having some weird behaviour and have spent the last weekend trying to figure out what is going on. Here is what's happening:
I have an EO record that has a number of fields including foreign keys. I run the application on my machine or on a Mac Server and edit a record by changing field values, including selections in different popups to change the foreign key values. I verify that the changes have been made by using a SQL application called Froq App to look directly into the database.
Now the weird thing is that sometimes the data is not changed in the database. I'll log out and then back into the app and make the exact same changes and this time it works. This completely scares me and now I have absolutely no faith in what the application is saving.
Any one have any clues on why this might be happening and what I can do to figure this out. I'm completely stumped. :-(
Calven
_______________________________________________
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
_______________________________________________
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