commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SCXML-51) <assign> with location and expr both containing datamodel expressions concatenates old and new values
Date Fri, 10 Aug 2007 14:05:44 GMT

    [ https://issues.apache.org/jira/browse/SCXML-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519020
] 

Chris Nack commented on SCXML-51:
---------------------------------

Thanks for fixing this Rahul,
Do you still need a junit testcase?


Thanks,
Chris



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


Mime
View raw message