cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6343) FileTransfer failed to upload image
Date Fri, 28 Mar 2014 01:45:15 GMT

    [ https://issues.apache.org/jira/browse/CB-6343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13950264#comment-13950264
] 

Ian Clelland commented on CB-6343:
----------------------------------

It looks like a real (that is, webview-generated) blob URL; I suspect that the problem would
be that our native code can't actually read the contents.

I'll have to look into the interaction between camera and file to see when that conversion
to blob happens, and whether we can either stop it from happening, or intercept it in the
file-transfer JS and stream the contents back to something that can cross the bridge, like
a regular file.

> FileTransfer failed to upload image
> -----------------------------------
>
>                 Key: CB-6343
>                 URL: https://issues.apache.org/jira/browse/CB-6343
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, mobile-spec, Plugin Camera, Plugin File Transfer
>    Affects Versions: 3.3.0
>         Environment: org.apache.cordova.file-transfer version="0.4.3-dev"
>            Reporter: glmnbeyond
>
> Steps to reproduce it:
> 1) Using createmobilespec.sh to create mobilespec project
> 2) Load mobile-spec tests
> 3) Navigate to "Camera" and "Choose File"
> 4) Click "Upload Image"
> Results:
> upload failed: {"code":1,"source":"{color:red}blob:file:///d5393bda-79b0-470c-8a1d-73e828c2f473{color}","target":"http://cordova-filetransfer.jitsu.com/upload","http_status":null,"body":null}
> Expected:
> upload complete



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message