Swap-style assignment does not work in some sitations
-----------------------------------------------------
Key: ODE-138
URL: https://issues.apache.org/jira/browse/ODE-138
Project: Ode
Issue Type: Bug
Components: BPEL Runtime
Affects Versions: 1.0-incubating
Environment: svn tip, Mac OS X 10.4.9, JDK 1.5
Reporter: Paul R. Brown
The following block of code:
<b:assign>
<b:copy>
<b:from>$counter.value+1</b:from>
<b:to>$counter.value</b:to>
</b:copy>
</b:assign>
Does not change the value of $counter.value (which is an xsd:int).
See issue #137 for the process that contains this snippet.
Stepping through the assignment in the debugger, it appears that
ASSIGN::replaceContent does not have the desired effect.
Altering the process to use the form:
<b:assign>
<b:copy>
<b:from>$counter.value+1</b:from>
<b:to variable="counter" part="value" />
</b:copy>
</b:assign>
works.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.