Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4318

simultaneous fileupload media lost

    XMLWordPrintable

    Details

      Description

      Steps to Reproduce

      run the fiddle: http://zkfiddle.org/sample/1hjcgam/3-simultaneous-upload-media-lost

      <zk>
      	<button label="upload" upload="true" onUpload='Clients.log("Uploaded: " + event.getMedia());'/>
      </zk>
      

      start several concurrent uploads quickly, choose files long enough or limit network speed in developer tools

      Current Result

      sometimes the uploadevent.getMedia() will return null

      Uploaded: [email protected]
      Uploaded: [email protected]
      Uploaded: [email protected]
      Uploaded: null
      

      Expected Result

      after a successful upload the media should not be null
      or an error should be displayed indicating the failure

      Debug Info

      used file size to reproduce was 1.2MB on zkfiddle

      Root Cause

      Workaround

        Attachments

          Activity

            People

            Assignee:
            rudyhuang rudyhuang
            Reporter:
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Time Spent - 6 hours Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - 6 hours Remaining Estimate - 2 hours
                6h