[
https://issues.apache.org/jira/browse/SCXML-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595352#action_12595352
]
Rahul Akolkar commented on SCXML-71:
------------------------------------
Thank you for your time, I'll take a look early next week.
Please attach patches, its much easier to incorporate incremental changes that
way (the directory structure seems slightly different between SVN and the
attached zip). Details on patches:
http://commons.apache.org/patches.html
Also, the (now renamed) J6 branch, which would be the base for the patch, is
here:
http://svn.apache.org/repos/asf/commons/proper/scxml/branches/J6/
> Javascript expression evaluator cannot evaluate _eventdatamap['event.name']
> ---------------------------------------------------------------------------
>
> Key: SCXML-71
> URL: https://issues.apache.org/jira/browse/SCXML-71
> Project: Commons SCXML
> Issue Type: Bug
> Affects Versions: 0.7
> Environment: Java 6
> Reporter: Tony Seebregts
> Priority: Minor
> Fix For: 1.0
>
> Attachments: js-src.zip
>
>
> The _eventdatamap is implemented as a Java HashMap - and the Javascript
> engines (both JDK and JSR223) don't seem to be able to apply the [] operator
> to a Java Map object.
> An interim workaround when using the Javascript evaluator is to use
> _eventdatamap.get('event.name').
> For the longer term this anomalous behaviour can either just be documented or
> a patch that specifically handles _eventdatamap[] can be included in the eval
> functions
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.