cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Zeggelaar (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-6351) setMetadata fails silently
Date Thu, 27 Mar 2014 10:15:17 GMT

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

Robin Zeggelaar edited comment on CB-6351 at 3/27/14 10:14 AM:
---------------------------------------------------------------

Dear Ian,

The project was created after upgrading Cordova and Phonegap via NPM. The plugins were added
using "Cordova plugin add org.apache.cordova.x". Am i right to assume this is the correct
way to handle things?

I will look into updating/re-installing and get back to you with the results.

UPDATE: I just removed all my plugins and re-added them using the CLI. I used {panel}cordova
plugin add org.apache.cordova.file{panel} The Entry.js file is still not containing the line
you quoted. If it is of any help, the cordova_plugins.js file is showwing the following: {panel}"org.apache.cordova.dialogs":
"0.2.6",
    "org.apache.cordova.network-information": "0.2.7",
    "org.apache.cordova.console": "0.2.7",
    "org.apache.cordova.plugins.PowerManagement": "0.1.0",
    "org.apache.cordova.file": "1.0.1",
    "org.apache.cordova.file-transfer": "0.4.2"{panel}


was (Author: robinzeggelaar):
Dear Ian,

The project was created after upgrading Cordova and Phonegap via NPM. The plugins were added
using "Cordova plugin add org.apache.cordova.x". Am i right to assume this is the correct
way to handle things?

I will look into updating/re-installing and get back to you with the results.

UPDATE: I just removed all my plugins and re-added them using the CLI. I used {panel}cordova
plugin add org.apache.cordova.file{panel} The Entry.js file is still not containing the line
you quoted. If it is of any help, the cordova_plugins.js file is showwing the following for
the file plugin: {panel}"org.apache.cordova.dialogs": "0.2.6",
    "org.apache.cordova.network-information": "0.2.7",
    "org.apache.cordova.console": "0.2.7",
    "org.apache.cordova.plugins.PowerManagement": "0.1.0",
    "org.apache.cordova.file": "1.0.1",
    "org.apache.cordova.file-transfer": "0.4.2"{panel}

> setMetadata fails silently
> --------------------------
>
>                 Key: CB-6351
>                 URL: https://issues.apache.org/jira/browse/CB-6351
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 3.4.0
>            Reporter: Robin Zeggelaar
>            Assignee: Ian Clelland
>              Labels: setMetadata
>
> In Cordova 3.0.4 the setMetadata call on iOS fails silently. Android does not seem to
have this issue.
> On the javascript side the following call is made (Entry.js): 
> exec(successCallback, errorCallback, "File", "setMetadata", [this.fullPath, metadataObject]);
> This fails silently on the native end. My callbacks are not invoked. I fixed this by
changing this.fullPath to this.toURL(), conform the changes to the File plugin. After this
change the callbacks did get invoked properly.
> Could you take a look at this and fix it in a future release?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message