[
https://issues.apache.org/jira/browse/SCXML-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rahul Akolkar resolved SCXML-77.
--------------------------------
Resolution: Fixed
Thanks for the patch, it has been applied in r680521:
http://svn.apache.org/viewvc?view=rev&revision=680521
I changed the tests to be in the invoke package (could have gone either way)
and added the "dummy" invoker as a static nested class (I try to avoid more
than one Java source file per test).
Please try the latest code from SVN to verify the fix. Thanks again.
> <param> is not working properly with only a single "name" attribute
> -------------------------------------------------------------------
>
> Key: SCXML-77
> URL: https://issues.apache.org/jira/browse/SCXML-77
> Project: Commons SCXML
> Issue Type: Bug
> Affects Versions: 0.8
> Reporter: Edzard Hoefig
> Priority: Minor
> Fix For: 0.9
>
> Attachments: commons-scxml_param-name-location_patch_ehoefig
>
>
> WD-scxml-20080516, section 4.3.1 says:
> If the "expr" attribute is missing, the "name" attribute will be taken as a
> data model location expression (see 8.2 Location Expressions) and the value
> at that location will be passed to the invoked component. If the "name"
> attribute does not refer to a location in the data model, an error
> error.illegalalloc will be generated.
> SCXMLSemanticsImpl.java seems to not handle this properly, as it is ignoring
> the case where a single "name" attribute is used (line 793).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.