commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar (JIRA)" <>
Subject [jira] Resolved: (SCXML-71) Javascript expression evaluator cannot evaluate _eventdatamap['']
Date Thu, 15 May 2008 17:49:55 GMT


Rahul Akolkar resolved SCXML-71.

    Resolution: Fixed

Fixed in the sense that the documentation and test improvments attached have been applied,
thanks. There are no functional changes.

Please submit any patches against the latest version of the J6 branch (or trunk, as the case
may be).

> Javascript expression evaluator cannot evaluate _eventdatamap['']
> ---------------------------------------------------------------------------
>                 Key: SCXML-71
>                 URL:
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.7
>         Environment: Java 6
>            Reporter: Tony Seebregts
>            Priority: Minor
>             Fix For: 1.0
>         Attachments:
> 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('').

> 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.

View raw message