aharui commented on issue #853:
URL: https://github.com/apache/royale-asjs/issues/853#issuecomment-643577994


   When you select a file to upload, the fn_FileSelect_EH is called in 
dbzAttachmentPopUp.
   It calls strFileRef.load() after setting up a COMPLETE event handler that 
should call fn_FileUpload_EH.  But fn_FileUpload_EH also calls 
strFileRef.load() which should generate another load and COMPLETE event which 
seems like an infinite loop to me.
   
   I think when you stop at the exception, the COMPLETE event is delayed.  It 
doesn't make sense to upload in the upload-is-complete handler.  It might have 
worked in Flex because the upload may not start immediately, but I think it 
might have different timing in Royale.  I recommend removing strFileRef.load in 
fn_FileUpload_EH.  I don't understand why it is there.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to