You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/22 12:46:27 UTC

[jira] [Commented] (CB-9843) filetransfer.spec.12 failure on wp8

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

ASF GitHub Bot commented on CB-9843:
------------------------------------

GitHub user alsorokin opened a pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/105

    CB-9843 Added wp8 quirk to test spec 12

    https://issues.apache.org/jira/browse/CB-9843

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-plugin-file-transfer CB-9843

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-file-transfer/pull/105.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #105
    
----
commit d6b480c95e2665e1aaa5fa5b01c4cb31958b3f68
Author: Alexander Sorokin <al...@akvelon.com>
Date:   2015-10-22T10:14:03Z

    CB-9843 Added wp8 quirk to test spec 12

----


> filetransfer.spec.12 failure on wp8
> -----------------------------------
>
>                 Key: CB-9843
>                 URL: https://issues.apache.org/jira/browse/CB-9843
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: Master
>            Reporter: Alexander Sorokin
>            Assignee: Alexander Sorokin
>
> There is a file transfer plugin failure on wp8 platform:
> {noformat}
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.12 should get http status on failure
>         Expected 3 to be 1.
>             Error: Expected 3 to be 1.
>                at stack (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11)
>                at buildExpectationResult (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5)
>                at expectationResultFactory (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:572:11)
>                at addExpectationResult (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:321:5)
>                at addExpectationResult (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:516:9)
>                at Anonymous function (x-wmapp0:www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7)
>                at downloadFail (x-wmapp0:www/cdvtests/../plugins/cordova-plugin-file-transfer-tests/tests.js:507:25)
>                at errorCallback (x-wmapp0:www/cdvtests/../plugins/cordova-plugin-file-transfer/www/FileTransfer.js:221:9)
>                at callbackFromNative (x-wmapp0:www/cdvtests/../cordova.js:295:38)
>                at callbackError (x-wmapp0:www/cdvtests/../cordova.js:282:9)
> {noformat}
> wp8 platform does not make a difference between 404 and unknown host so the plugin returns CONNECTION_ERR and not FILE_NOT_FOUND_ERR



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org