incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brooks (Created) (JIRA)" <>
Subject [jira] [Created] (CB-97) returns wrong parameter to callback
Date Wed, 30 Nov 2011 19:11:40 GMT returns wrong parameter to callback

                 Key: CB-97
             Project: Apache Callback
          Issue Type: Bug
          Components: BlackBerry
            Reporter: Michael Brooks

The blackberry implementation returns a JSON object to the getInfo success callback.

Android, for example, returns just a string.

Which one is the right one? I can't tell from the callback-test repo.

Here's an example of a problem I have currently on an Android and BlackBerry callback project:

            if(type == "none" || (typeof type.type != 'undefined' && type.type ==
              alert('no connection');
            alert('something bad happened');

So the getInfo callback, in Android case, compares to a string; BlackBerry has to check it's
an object and look at one of the object properties.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message