Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Master
-
Android N alpha, Nexus 6, moblie-spec create with master branch repos
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
- is duplicated by
-
CB-11115 Encoding error on Android N in file plugin mobilespec test
- Closed
This was a test error and is fixed in master https://github.com/apache/cordova-plugin-file/commit/fe7b78142d02aa2b28056d8472728ce90ad331e0