You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Karen Tran (JIRA)" <ji...@apache.org> on 2016/03/29 19:08:25 UTC

[jira] [Created] (CB-10983) File Plugin content URL tests fail in mobile-spec on Android N

Karen Tran created CB-10983:
-------------------------------

             Summary: File Plugin content URL tests fail in mobile-spec on Android N
                 Key: CB-10983
                 URL: https://issues.apache.org/jira/browse/CB-10983
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File
    Affects Versions: Master
         Environment: Android N alpha, Nexus 6, moblie-spec create with master branch repos
            Reporter: Karen Tran
             Fix For: Master


In the automated File plugin tests in mobile-spec, 
file.spec 138, 139, and 140 all fail with the same error. They also all use content:// scheme. 

{noformat}
resolveLocalFileSystemURL failed for content provider {"code":5}: ENCODING_ERR

Error: resolveLocalFileSystemURL failed for content provider {"code":5}: ENCODING_ERR 
    at stack (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17) 
    at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14) 
    at Spec.Env.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18) 
    at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34) 
    at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21) 
    at Expectation.toFailWithMessage (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12) 
    at failed (file:///android_asset/www/plugins/cordova-plugin-file-tests/tests.js:178:26) 
    at fail (file:///android_asset/www/plugins/cordova-plugin-file/www/resolveLocalFileSystemURI.js:53:17) 
    at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:295:52) 
    at processMessage (file:///android_asset/www/cordova.js:1081:17)
{noformat}

Not sure if content scheme is something changing in Android N, but it's worth tracking. 



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