You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2012/09/25 16:22:07 UTC

[jira] [Created] (CB-1537) Make Android's exec.processMessages re-entrant

Andrew Grieve created CB-1537:
---------------------------------

             Summary: Make Android's exec.processMessages re-entrant
                 Key: CB-1537
                 URL: https://issues.apache.org/jira/browse/CB-1537
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaJS
    Affects Versions: 2.2.0
            Reporter: Andrew Grieve
            Assignee: Andrew Grieve
            Priority: Minor
             Fix For: 2.2.0


In the case where:
1. exec.processMessages() is call with messages A,B,C
2. the callback of A calls exec.processMessages() with D,E

Expected:
Callbacks should be called A,B,C,D,E

Actual:
Callbacks order is A,D,E,B,C

We should add a unit test for this as well.

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

[jira] [Resolved] (CB-1537) Make Android's exec.processMessages re-entrant

Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-1537.
-------------------------------

    Resolution: Fixed

Fix and tests written.

Commit: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=e799aef6a4e24e95b341798e19ffeb39b43ce2c1
                
> Make Android's exec.processMessages re-entrant
> ----------------------------------------------
>
>                 Key: CB-1537
>                 URL: https://issues.apache.org/jira/browse/CB-1537
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 2.2.0
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> In the case where:
> 1. exec.processMessages() is call with messages A,B,C
> 2. the callback of A calls exec.processMessages() with D,E
> Expected:
> Callbacks should be called A,B,C,D,E
> Actual:
> Callbacks order is A,D,E,B,C
> We should add a unit test for this as well.

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