You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Christian Kuetbach (JIRA)" <ji...@apache.org> on 2012/12/04 17:25:58 UTC
[jira] [Commented] (CB-1519) FileTransfer.upload() does not set
lengthComputable field for content: URLs (photos) on Android
[ https://issues.apache.org/jira/browse/CB-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509832#comment-13509832 ]
Christian Kuetbach commented on CB-1519:
----------------------------------------
The issue is more critical, than it seems in the first place. If the lengthComuptable can not be calculated, no progress update event will be fired.
There is a condition check within the javascript. This is inconsistent, because if the download size cannot be computed, there will be progress events fired.
> FileTransfer.upload() does not set lengthComputable field for content: URLs (photos) on Android
> -----------------------------------------------------------------------------------------------
>
> Key: CB-1519
> URL: https://issues.apache.org/jira/browse/CB-1519
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.2.0
> Reporter: Andrew Grieve
> Assignee: Andrew Grieve
> Priority: Minor
>
> Could fix this by reading the stream twice, or maybe the streams are seekable?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira