You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2015/10/26 18:44:27 UTC

[jira] [Resolved] (CB-7853) Windows 8 filetransfer.spec.13 reponse body null

     [ https://issues.apache.org/jira/browse/CB-7853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shakhnazarov resolved CB-7853.
-------------------------------------
    Resolution: Fixed

> Windows 8 filetransfer.spec.13 reponse body null
> ------------------------------------------------
>
>                 Key: CB-7853
>                 URL: https://issues.apache.org/jira/browse/CB-7853
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec, Plugin File Transfer, Windows 8
>    Affects Versions: 3.6.3
>         Environment: Windows 8
>    "org.apache.cordova.file-transfer.tests": "0.4.7",
>  
>            Reporter: Angela Fowler
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>
> In the downloadFail function it is expected that error.body is defined but it is null.
> Other values are populated e.g. error.exception is "Not found (404)."
> org.apache.cordova.file-transfer.tests.tests >> FileTransfer download method filetransfer.spec.13 should get response body on failure
> Expected null to match 'You requested a 404'.
> Error: Expected null to match 'You requested a 404'.
>    at stack (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1292:11)
>    at buildExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1264:5)
>    at expectationResultFactory (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:483:11)
>    at Spec.prototype.addExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:259:5)
>    at addExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:441:9)
>    at Anonymous function (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1208:7)
>    at downloadFail (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer.tests/tests.js:366:21)
>    at errorCallback (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer/www/FileTransfer.js:198:9)
>    at cordova.callbackFromNative (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cordova.js:294:34)



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