cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Kuetbach (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1519) FileTransfer.upload() does not set lengthComputable field for content: URLs (photos) on Android
Date Tue, 04 Dec 2012 16:25:58 GMT

    [ 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

Mime
View raw message