[
https://issues.apache.org/jira/browse/SCXML-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rahul Akolkar resolved SCXML-51.
--------------------------------
Resolution: Fixed
Should be fixed in trunk, added a similar test to the test suite.
> <assign> with location and expr both containing datamodel expressions
> concatenates old and new values
> -----------------------------------------------------------------------------------------------------
>
> Key: SCXML-51
> URL: https://issues.apache.org/jira/browse/SCXML-51
> Project: Commons SCXML
> Issue Type: Bug
> Affects Versions: 0.6
> Reporter: Chris Nack
> Assignee: Rahul Akolkar
> Fix For: 0.7
>
>
> If you have the following datamodel:
> <datamodel>
> <data name="RAD">
> <rad:timeout>10</rad:timeout>
> </data>
> <data name="CONFIG">
> <rad:short>20</rad:short>
> </data>
> </datamodel>
> and execute this assign:
> <assign location="Data(RAD, 'rad:timeout')" expr="Data(CONFIG,
> 'rad:short')"/>
> you end up with the data value of "2010" stored in rad:timeout. The correct
> data value should be "20".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]