You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jay Chung (JIRA)" <ji...@apache.org> on 2013/02/21 06:56:12 UTC

[jira] [Created] (CB-2517) service module issue: onFailure callback is not called

Jay Chung created CB-2517:
-----------------------------

             Summary: service module issue: onFailure callback is not called
                 Key: CB-2517
                 URL: https://issues.apache.org/jira/browse/CB-2517
             Project: Apache Cordova
          Issue Type: Bug
    Affects Versions: 2.3.0
         Environment: HP webOS emulator
            Reporter: Jay Chung


invoking onFailure callback using the service module invokes onSuccess instead ( when incorrect palm url is given for example).

Fix: works after changing cordova script @ line 6072 as follows:
"onerror = params.onFailure" to "onfailure = params.onFailure" 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira