Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10983

File Plugin content URL tests fail in mobile-spec on Android N

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      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)
      

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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ktop500 Karen Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment