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

[jira] [Created] (CB-2503) 2.4.0 introduces a regression bug in iOS cordova.exec

Robin Helgelin created CB-2503:
----------------------------------

             Summary: 2.4.0 introduces a regression bug in iOS cordova.exec
                 Key: CB-2503
                 URL: https://issues.apache.org/jira/browse/CB-2503
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaJS
    Affects Versions: 2.4.0
         Environment: iOS
            Reporter: Robin Helgelin
            Assignee: Filip Maj
            Priority: Minor


Version 2.3.0 and perhaps prior version allowed cordova.exec to be called with only 4 arguments.

cordova.exec(callback, null, "Echo", "echo");

Doing that on 2.4.0 yields an undefined TypeError from function massageArgsJsToNative(args) which blindly assumes args is a valid variable, line 74 in trunk.

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