You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mike Tillberg (JIRA)" <ji...@apache.org> on 2009/01/10 07:26:01 UTC

[jira] Updated: (SCXML-105) Current status updated after onentry is called

     [ https://issues.apache.org/jira/browse/SCXML-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Tillberg updated SCXML-105:
--------------------------------

    Attachment: CustomActionTest.patch

Patch to the CustomActionTest unit tests

> Current status updated after onentry is called
> ----------------------------------------------
>
>                 Key: SCXML-105
>                 URL: https://issues.apache.org/jira/browse/SCXML-105
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.9
>            Reporter: Mike Tillberg
>            Priority: Minor
>             Fix For: 0.10
>
>         Attachments: CustomActionTest.patch
>
>
> When retrieving the current state using a custom action in the onentry section of a state, the state is incorrect.  The state retrieved is the previous state.  The problem appears to be in SCXMLExecutor.triggerEvents, where updateStatus() is called after semantics.executeActions().  Adding an additional updateStatus() before executeActions() seems to fix the problem, and all tests still pass.
> Attached is a test case showing the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.