You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/06/10 09:27:45 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #853: Attachment file is uploading infinite times

pashminakazi opened a new issue #853:
URL: https://github.com/apache/royale-asjs/issues/853


   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to Inventory from Select in Menu
   Go to Carriage/Freight from Setups in Menu
   File : com/dbz/modules/Common/dbzDriverMasterSetup.mxml
   
   Click on New Button and then attachment icon and then attach a file
   **If you tick Pause on Exception** then system will upload file one time but **if you didn't tick on Pause on Exception** system will upload attachment infinite times
   
   ![image](https://user-images.githubusercontent.com/42200979/84250362-641d4180-ab25-11ea-8762-726789f0a340.png)
   ![image](https://user-images.githubusercontent.com/42200979/84250888-0b9a7400-ab26-11ea-9a79-4bedc4927720.png)
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [royale-asjs] pashminakazi commented on issue #853: Attachment file is uploading infinite times

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #853:
URL: https://github.com/apache/royale-asjs/issues/853#issuecomment-643574602


   I have logged into application and opened Driver Setup,Please check


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [royale-asjs] pashminakazi closed issue #853: Attachment file is uploading infinite times

Posted by GitBox <gi...@apache.org>.
pashminakazi closed issue #853:
URL: https://github.com/apache/royale-asjs/issues/853


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [royale-asjs] aharui commented on issue #853: Attachment file is uploading infinite times

Posted by GitBox <gi...@apache.org>.
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:
users@infra.apache.org



[GitHub] [royale-asjs] pashminakazi commented on issue #853: Attachment file is uploading infinite times

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #853:
URL: https://github.com/apache/royale-asjs/issues/853#issuecomment-643574224


   Its adding same item over and over again,and if i tick on pause on
   exception i will give exception uncaught TypeError: Cannot read property
   'at_Name' of undefined
   
   On Sat, Jun 13, 2020, 10:40 AM aharui <no...@github.com> wrote:
   
   > Is it uploading a file infinite times or is it adding the same item to the
   > list over and over again? Are there any exceptions if you pause on
   > exceptions?
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/royale-asjs/issues/853#issuecomment-643573813>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AKB67E3QMJ3WA3NNWJKMOQDRWMGMVANCNFSM4N2GLILQ>
   > .
   >
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [royale-asjs] pashminakazi commented on issue #853: Attachment file is uploading infinite times

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #853:
URL: https://github.com/apache/royale-asjs/issues/853#issuecomment-643575039


   I logged out of VDI,Please login VDI,application is running and Driver Setup is opened


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [royale-asjs] aharui commented on issue #853: Attachment file is uploading infinite times

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #853:
URL: https://github.com/apache/royale-asjs/issues/853#issuecomment-643573813


   Is it uploading a file infinite times or is it adding the same item to the list over and over again?  Are there any exceptions if you pause on exceptions?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [royale-asjs] aharui commented on issue #853: Attachment file is uploading infinite times

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #853:
URL: https://github.com/apache/royale-asjs/issues/853#issuecomment-643574595


   What is the call stack of the exception?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [royale-asjs] pashminakazi commented on issue #853: Attachment file is uploading infinite times

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #853:
URL: https://github.com/apache/royale-asjs/issues/853#issuecomment-643583265


   @aharui Thank u so much issue resolved by removing strFileRef.load in fn_FileUpload_EH.


----------------------------------------------------------------
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:
users@infra.apache.org