You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Luca Clementi (JIRA)" <ji...@apache.org> on 2007/06/02 22:40:15 UTC

[jira] Created: (ODE-143) bug in the BPEL 1.1/2.0 compativility in copying variables

bug in the BPEL 1.1/2.0 compativility in copying variables
----------------------------------------------------------

                 Key: ODE-143
                 URL: https://issues.apache.org/jira/browse/ODE-143
             Project: Ode
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: 1.0-incubating, Incubator, 1.1-incubating
         Environment: Java 5
ServiceMIX 3.2-incubating-SNAPSHOT
            Reporter: Luca Clementi


There is a problem when copying variables.

if the old BPEL 1.0 format is used to select variables parts e.g.:
<from variable="variable_name" part="variable_part"><query>query</query></from>
<to variable="variable_name" part="variable_part"><query>query</query></to>
the behavior of the engine is not correct, it select randomly the variable's parts. 


While if the other format is used (BPEL 2.0) the assign works properly, for example:
<from>$variable_name.variable_part/query</from>
<to>$variable_name.variable_part/query</to> 

Luca

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ODE-143) bug in the BPEL 1.1/2.0 compativility in copying variables

Posted by "Luca Clementi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502771 ] 

Luca Clementi commented on ODE-143:
-----------------------------------


It seems that the problem appears only if there is also the "query" part.
If there are only the variable_name and varable_part involved in the
copy both the bpel 1.0 and the bpel 2.0 format works properly.

But if in the assign there is also the "query" part then only the bpel 2.0 format ($variable_name.part/query) works properly.


Luca

> bug in the BPEL 1.1/2.0 compativility in copying variables
> ----------------------------------------------------------
>
>                 Key: ODE-143
>                 URL: https://issues.apache.org/jira/browse/ODE-143
>             Project: Ode
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: Incubator, 1.0-incubating, 1.1-incubating
>         Environment: Java 5
> ServiceMIX 3.2-incubating-SNAPSHOT
>            Reporter: Luca Clementi
>
> There is a problem when copying variables.
> if the old BPEL 1.0 format is used to select variables parts e.g.:
> <from variable="variable_name" part="variable_part"><query>query</query></from>
> <to variable="variable_name" part="variable_part"><query>query</query></to>
> the behavior of the engine is not correct, it select randomly the variable's parts. 
> While if the other format is used (BPEL 2.0) the assign works properly, for example:
> <from>$variable_name.variable_part/query</from>
> <to>$variable_name.variable_part/query</to> 
> Luca

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (ODE-143) bug in the BPEL 1.1/2.0 compativility in copying variables

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved ODE-143.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1-incubating

Fixed by Matthieu

Author: mriou
Date: Tue Jun 19 11:28:46 2007
New Revision: 548815

URL: http://svn.apache.org/viewvc?view=rev&rev=548815
Log:
Fixed assignments of the form variable/part with an additional query attribute or sub-element (depending on the spec version).

Modified:
   incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
   incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/ToFrom.java
   incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/VariableVal.java
   incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/VariableVal11.java

> bug in the BPEL 1.1/2.0 compativility in copying variables
> ----------------------------------------------------------
>
>                 Key: ODE-143
>                 URL: https://issues.apache.org/jira/browse/ODE-143
>             Project: Ode
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: Incubator, 1.0-incubating, 1.1-incubating
>         Environment: Java 5
> ServiceMIX 3.2-incubating-SNAPSHOT
>            Reporter: Luca Clementi
>             Fix For: 1.1-incubating
>
>
> There is a problem when copying variables.
> if the old BPEL 1.0 format is used to select variables parts e.g.:
> <from variable="variable_name" part="variable_part"><query>query</query></from>
> <to variable="variable_name" part="variable_part"><query>query</query></to>
> the behavior of the engine is not correct, it select randomly the variable's parts. 
> While if the other format is used (BPEL 2.0) the assign works properly, for example:
> <from>$variable_name.variable_part/query</from>
> <to>$variable_name.variable_part/query</to> 
> Luca

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.