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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to