commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <>
Subject [jira] [Created] (SCXML-246) Javascript engine requires global context execution
Date Sat, 02 Jan 2016 14:42:39 GMT
Ate Douma created SCXML-246:

             Summary: Javascript engine requires global context execution
                 Key: SCXML-246
             Project: Commons SCXML
          Issue Type: Improvement
            Reporter: Ate Douma
            Assignee: Ate Douma
             Fix For: 2.0

The javascript engine uses a global Javscript context (e.g. the "global" state) which retains
its state across SCXML script evaluation execution.
The (currently default) custom feature of Commons SCXML to nest SCXML state contexts therefore
cannot reliably be used for the Javascript language.
Note that the SCXML specification explicitely states that all datamodel state should be shared
globally as well.
To retain the custom Commons SCXML feature, a new Evaluator characteristic is introduced which
will specify if a specific (language) Evaluator requires a global context or not, which for
the Javascript Evaluator (JSEvaluator) will be set to true. 

This message was sent by Atlassian JIRA

View raw message