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

ASF subversion and git services commented on CB-8407:
-----------------------------------------------------

Commit 5ee666ce0b65fcde396e45974795a86f1097e5bc in 
cordova-plugin-file-transfer's branch refs/heads/master from [~vladimir.kotikov]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=5ee666c
 ]

CB-8407 Use File proxy to construct valid FileEntry for download success 
callback

Due to changes in file plugin 
(https://github.com/apache/cordova-plugin-file/commit/bcbeae24cd24583b790da95e0e076492eb16cd4f)
 result of download method should now have filesystemName specified for proper 
work. This updates download method to construct FileEntry properly, using File 
plugin proxy.


> file-transfer plugin fails to download a file if to ms-appdata specified file 
> on windows
> ----------------------------------------------------------------------------------------
>
>                 Key: CB-8407
>                 URL: https://issues.apache.org/jira/browse/CB-8407
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 0.4.8
>         Environment: Windows platform
> File-transfer plugin@0.4.9-dev
> file plugin@1.3.4-dev
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>              Labels: file, file-transfer, windows
>
> download() in file-transfer plugin expects path instead of internal URL on 
> windows
> This bug seems to be introduced with these changes to cordova-plugin-file: 
> https://github.com/apache/cordova-plugin-file/commit/bcbeae24cd24583b790da95e0e076492eb16cd4f
> All tests for download method of file-transfer plugin now fail on windows 
> with following message:
> Exception calling native with command :: FileTransfer :: download 
> ::exception=WinRTError: The parameter is incorrect.
> As per internal discussion, this line may be the cause:
> https://github.com/apache/cordova-plugin-file-transfer/blob/master/src/windows/FileTransferProxy.js#L166



--
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

Reply via email to