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 2007/09/02 03:05:19 UTC

[jira] Created: (SCXML-58) SCXML not stateless because of State class

SCXML not stateless because of State class
------------------------------------------

                 Key: SCXML-58
                 URL: https://issues.apache.org/jira/browse/SCXML-58
             Project: Commons SCXML
          Issue Type: Bug
    Affects Versions: 0.7
         Environment: nightly build 20070730
            Reporter: Mike Tillberg


The State class is not stateless because of the "done" property.  This can cause incorrect firing of the parallel state done transition when sharing an SCXML object between multiple SCXMLExecutors.


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


[jira] Updated: (SCXML-58) SCXML not stateless because of State class

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

Rahul Akolkar updated SCXML-58:
-------------------------------

    Affects Version/s:     (was: 0.7)
                       0.6
        Fix Version/s: 0.7

Indeed, and thanks for the test case (haven't run it yet, but the issue seems obvious). I intend to look at this in a week's time. If you want to take a stab at it, probably the best solution would be to hand off this book-keeping to the o.a.c.scxml.SCInstance class which manages the state for every executor instance.

Setting fix version to next release (v0.7).

Please note that the "Affects Version/s" field should generally be set to the latest release (in this case, v0.6 -- I've changed that here).


> SCXML not stateless because of State class
> ------------------------------------------
>
>                 Key: SCXML-58
>                 URL: https://issues.apache.org/jira/browse/SCXML-58
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.6
>         Environment: nightly build 20070730
>            Reporter: Mike Tillberg
>             Fix For: 0.7
>
>         Attachments: stateless-parallel01.xml, statelessTest.patch
>
>
> The State class is not stateless because of the "done" property.  This can cause incorrect firing of the parallel state done transition when sharing an SCXML object between multiple SCXMLExecutors.

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


[jira] Resolved: (SCXML-58) SCXML not stateless because of State class

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

Rahul Akolkar resolved SCXML-58.
--------------------------------

    Resolution: Fixed

Fixed in SVN, thanks for the tests, they have been added to the test suite.


> SCXML not stateless because of State class
> ------------------------------------------
>
>                 Key: SCXML-58
>                 URL: https://issues.apache.org/jira/browse/SCXML-58
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.6
>         Environment: nightly build 20070730
>            Reporter: Mike Tillberg
>             Fix For: 0.7
>
>         Attachments: stateless-parallel01.xml, statelessTest.patch
>
>
> The State class is not stateless because of the "done" property.  This can cause incorrect firing of the parallel state done transition when sharing an SCXML object between multiple SCXMLExecutors.

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


[jira] Updated: (SCXML-58) SCXML not stateless because of State class

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

Mike Tillberg updated SCXML-58:
-------------------------------

    Attachment: stateless-parallel01.xml
                statelessTest.patch

Patch to StatelessModelText and accompanying state model to test this problem.


> SCXML not stateless because of State class
> ------------------------------------------
>
>                 Key: SCXML-58
>                 URL: https://issues.apache.org/jira/browse/SCXML-58
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.7
>         Environment: nightly build 20070730
>            Reporter: Mike Tillberg
>         Attachments: stateless-parallel01.xml, statelessTest.patch
>
>
> The State class is not stateless because of the "done" property.  This can cause incorrect firing of the parallel state done transition when sharing an SCXML object between multiple SCXMLExecutors.

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