commons-issues mailing list archives

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

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

Ate Douma resolved SCXML-246.
-----------------------------
    Resolution: Fixed

> Javascript engine requires global context execution
> ---------------------------------------------------
>
>                 Key: SCXML-246
>                 URL: https://issues.apache.org/jira/browse/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
(v6.3.4#6332)

Mime
View raw message