You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/08/08 16:01:39 UTC

[GitHub] trongrg commented on issue #199: Fix js error "The parameter is incorrect"

trongrg commented on issue #199: Fix js error "The parameter is incorrect"
URL: https://github.com/apache/cordova-plugin-file-transfer/pull/199#issuecomment-411459424
 
 
   hey @janpio 
   
   So I have an UWP app using imgcache.js https://github.com/chrisben/imgcache.js to cache the images. imgcache.js use this plugin to download images.
   
   When we load a page with 40 images, some of the images are broken, and it jumps to the error handler `getTransferError`. In my case, it does have a response however the download.progress.bytesReceived is 0, and Windows.Storage.Streams.DataReader throw an exception complaining about "The parameter is incorrect" for that 0
   
   So this PR check download.progress.bytesReceived, and if it is 0, resolve the error, so no exception is thrown

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org