Re: Strange Problem submitting data to WO [5.2.5, W2K]
"Cheong Hee (QSS)" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <005c01c6bc22$b4828380$0902a8c0@CHNGXP> |
I did experienced the same issue with one of the Integer value e.g. isActive is not able to submitted although it has been updated in the program and call ec.saveChanges. Throughout the long trouble-shooting, printing out the values from database and session, it just could not help to solve the issue. Finally, I have to do a second time ec.saveChanges to ensure the value is saved. This is crab however. It seemed the first time saveChanges, the update could not be done. The subsequent call again to saveChanges, the value is finally submitted. Don't try this if you have other means. Cheers Cheong Hee ----- Original Message ----- From: COAST To: [email protected] Sent: Tuesday, August 08, 2006 7:25 PM Subject: Strange Problem submitting data to WO [5.2.5, W2K] Hi list we have a strange problem submitting data to the WO app. Filling in a form with changes, the changes sometimes are not submitted to WO. The "sometimes" is the big problem. You can do about 20 changes everything is working, then suddenly the form seems not to be submitted to the server. The next time: Everything is o.k. We checked different things like "multiple submit = yes", the submit button placed on the form for sure etc. We have to say that this strange behaviour seems to occur only if doing a direct conntect to the app (developing) . We have not seen the problem via the Web Server IIS (deployment). But we have a really bad feeling about this... We debuged the story by printing the following in takesValueFromRequest (just after super): ec.updatedObjects().count() if everything is o.k. count = 1 (one object has changed) if it goes wrong count = 0 (which is telling that no changes have been submitted ?!) What could be the problem ? Where to go further on with debuging ? Is it really only a problem with direct connect ? Thanks Peter ------------------------------------------------------------------------------ _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev