I've only seen that type of issue when I've had some bad JOIN code in my SQL... pulls back more than 1 record when only 1 was expected
 
Shan


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola
Sent: Thursday, November 02, 2006 9:06 AM
To: flexcoders@yahoogroups.com
Subject: [Junk E-Mail - LOW] Re: [flexcoders] Crazy Issue

The id is only set one time on a function that run on creationComplete of the Application tag and is only set from the flashVars value from the url so I don't see how it could have been overwritten without changing the url and refreshing the jsp page.  My concern is that there was some kind of session confusion on the j2ee side but that doesn't really seem possible either as the object is passed comletely with all of the values including the id already set from the flex app.

Rich


On 11/2/06, Paul Andrews <[EMAIL PROTECTED]com> wrote:
No particular theories, but it sounds like you need some  debugging/audit trail to be able to monitor what's really happenning. In the scale of things hundreds of records may not show up a bug in your software. If I had a wild guess, something's gone wrong causing the ID to be overwritten, or an old ID to remain in place rather than be overwritten.
 
Good luck.
----- Original Message -----
Sent: Thursday, November 02, 2006 1:52 PM
Subject: [flexcoders] Crazy Issue

Although there is no proof that this actually occured as stated.  I am getting feedback from management that the following occured.

Here is the setup.

A flex2 swf running within a .jsp reads in a url variable using request.getParameter().  The variable is passed into the swf using flashVars and stored as a property of the model.  The application loads specific data based on that model.id.  The application then allows the user to input data and attaches the model.id to the object and then saves it to the database through a remote object java/hibernate backend.

Management is telling me that a record in the database shows a different id than the one that was passed into the application through flashVars.  I don't see any way this could be possible but thought I would throw it out to the list.  There have been hundeds of records that have been saved properly and only one in question. 

The only thing I can think of is that the user either went to the wrong url or edited the id url variable.  Both of these seem unlikely however.

Any one have any theories?

Rich



--
Rich Tretola
<mx:EverythingFlex/>
http://www.EverythingFlex.com


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.13.23/513 - Release Date: 11/2/2006 7:40 AM

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.13.23/513 - Release Date: 11/2/2006 7:40 AM

Reply via email to