[jira] [Commented] (CB-6343) FileTransfer failed to upload image
[ https://issues.apache.org/jira/browse/CB-6343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013501#comment-15013501 ] Sergey Shakhnazarov commented on CB-6343: - [~iclelland], do you have any investigation details about this issue? > FileTransfer failed to upload image > --- > > Key: CB-6343 > URL: https://issues.apache.org/jira/browse/CB-6343 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera, Plugin File Transfer >Affects Versions: 3.3.0 > Environment: iOS > org.apache.cordova.file-transfer version="0.4.3-dev" >Reporter: glmnbeyond > Labels: iOS, reproduced, triaged > > 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.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-6343) FileTransfer failed to upload image
[ https://issues.apache.org/jira/browse/CB-6343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949256#comment-13949256 ] Ian Clelland commented on CB-6343: -- What platform is this failing on? > FileTransfer failed to upload image > --- > > Key: CB-6343 > URL: https://issues.apache.org/jira/browse/CB-6343 > Project: Apache Cordova > Issue Type: Bug > Components: 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)
[jira] [Commented] (CB-6343) FileTransfer failed to upload image
[ https://issues.apache.org/jira/browse/CB-6343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13950260#comment-13950260 ] glmnbeyond commented on CB-6343: Sorry, I forgot to mention it's in iOS. > 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)
[jira] [Commented] (CB-6343) FileTransfer failed to upload image
[ 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)