You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/03/26 16:45:16 UTC

[jira] [Assigned] (CB-6351) setMetadata fails silently

     [ https://issues.apache.org/jira/browse/CB-6351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Clelland reassigned CB-6351:
--------------------------------

    Assignee: Ian Clelland

> 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)