Uploaded image for project: 'Commons SCXML'
  1. Commons SCXML
  2. SCXML-51

<assign> with location and expr both containing datamodel expressions concatenates old and new values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.7
    • None

    Description

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

      Attachments

        Activity

          People

            rahul@apache.org Rahul Akolkar
            crisnack Chris Nack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: