<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
            Reporter: Chris Nack


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]

Reply via email to