incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-980) PluginResult.getJSONString does not return proper JSON
Date Thu, 28 Jun 2012 20:03:44 GMT

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

Filip Maj commented on CB-980:
------------------------------

Drew, I think it was a change I did in the JS. We are no longer using {{eval}} for BlacKBerry's
{{exec}} method in JS, and instead use {{JSON.parse}}. I think that caused it.
                
> PluginResult.getJSONString does not return proper JSON
> ------------------------------------------------------
>
>                 Key: CB-980
>                 URL: https://issues.apache.org/jira/browse/CB-980
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry
>    Affects Versions: 1.9.0
>            Reporter: Drew Walters
>            Assignee: Drew Walters
>             Fix For: 1.9.0
>
>
> PluginResult.getJSONString is not currently wrapping the keys in quotes. This never used
to be an issue.  Suddenly the File test case for "remove on root file system" started failing
for me and it was due to the native return not being proper JSON. Not sure what has changed
to cause an issue but native should return proper JSON anyway.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message