You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ripple.apache.org by "Julian Horn (JIRA)" <ji...@apache.org> on 2015/08/05 15:41:04 UTC

[jira] [Commented] (RIPPLE-96) I haz cheesburger: File.requestAllFileSystems

    [ https://issues.apache.org/jira/browse/RIPPLE-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14658226#comment-14658226 ] 

Julian Horn commented on RIPPLE-96:
-----------------------------------

Every plugin has a JavaScript part and a native code part.  Since Ripple cannot execute native code, it must provide a stand-in for the native services.  That "I haz cheesburger" error is what happens when the program under test calls the JavaScript part of a plugin API and that function executes a native service for which the emulator has no stand-in.

When going from version 0.x to 1.x, the org.apache.cordova.file plugin was modified considerably, and several new native service routines were added.  Ripple has not yet been updated to support these new routines, which is why you are seeing these errors.

You can avoid these errors by going back not only from cordova-plugin-file (which is version 2.x, by the way) to org.apache.cordova.file, but also to the latest 0.x version of org.apache.cordova.file, which is version 0.2.5 (or earlier).  If you decide to do that for testing purposes, then you should also back-version any plugins you are using that depend on file, of which there are three: file-transfer, media-capture, and media.  The latest compatible versions are:
file-transfer: 0.5.0
media-capture: 0.3.6
media: 0.2.16

I have updated emulation support for the File plugin, but it still has some issues that we are working to fix.  When it is ready, I will put up a pull request that will allow you to use current versions of all these plugins with Ripple.  Accordingly I have assigned this JIRA to me.

But for now, going back to an earlier version of the file plugin is the best work-around.

> I haz cheesburger: File.requestAllFileSystems
> ---------------------------------------------
>
>                 Key: RIPPLE-96
>                 URL: https://issues.apache.org/jira/browse/RIPPLE-96
>             Project: Apache Ripple
>          Issue Type: Bug
>         Environment: debian jessie
> cordova 5.1.1
> androlid platform
>            Reporter: Antonio Gallo
>            Priority: Blocker
>
> After i update to latest cordova and android platform both ripple 0.9.30 and 0.9.31 are gaving me this error i was not getting before:
> I haz cheesburger: File.requestAllFileSystems
> should i downgrade plugins from cordova-plugin-file
> to the old org.cordova.file.* ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)