commons-issues mailing list archives

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

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

Rahul Akolkar commented on SCXML-51:
------------------------------------

We have a testcase now, based on your example (see state with id "assign2" in the document
below):

http://svn.apache.org/repos/asf/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/model/assign-test.xml

So while more testcases are always welcome, there isn't a pressing need anymore in terms of
coverage for this issue. Thanks for asking.


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