ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Midon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ODE-569) Assignment to a non-existing part does not fail
Date Fri, 03 Apr 2009 01:11:12 GMT

     [ https://issues.apache.org/jira/browse/ODE-569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexis Midon updated ODE-569:
-----------------------------

    Priority: Major  (was: Blocker)

> Assignment to a non-existing part does not fail
> -----------------------------------------------
>
>                 Key: ODE-569
>                 URL: https://issues.apache.org/jira/browse/ODE-569
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.1
>            Reporter: Alexis Midon
>
> Assigning a value to an unknown part does not throw a selectionFailure. Instead the whole
content of the message is replaced by the <to/> value.
> For instance, the following assignment does not fail. The content of the $myVar message
will be <message>hello world</message>. See logs below for details.
>      <assign>
>            <copy>
>                <from>
>                    <literal>hello world</literal>
>                </from>
>                <to>$myVar.TestParttt</to>
>            </copy>
>        </assign>
> DEBUG - Assign.copy({OCopy {OXPath10Expression $myVar.TestParttt}={Literal <?xml version="1.0"
encoding="UTF-8"?>
> <literal xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable">hello
world</literal>}})
> DEBUG - Evaluating FROM expression "{Literal <?xml version="1.0" encoding="UTF-8"?>
> <literal xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable">hello
world</literal>}".
> DEBUG - lvalue after eval [message: null]
> DEBUG - content <?xml version="1.0" encoding="UTF-8"?>
> <message><TestPart xmlns="" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://ode/bpel/unit-test.wsdl">Hello</TestPart></message>
> DEBUG - lvaluePtr expr res [message: null]
> DEBUG - lvaluePtr type 1
> DEBUG - lvaluePtr <?xml version="1.0" encoding="UTF-8"?>
> <message><TestPart xmlns="" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://ode/bpel/unit-test.wsdl">Hello</TestPart></message>
> DEBUG - lvalue [message: null]
> DEBUG - rvalue hello world
> DEBUG - ASSIGN Writing variable 'myVar' value '<?xml version="1.0" encoding="UTF-8"?>
> <message>hello world</message>'
> DEBUG - Write variable: name={Variable __PROCESS_SCOPE:HelloWorld2.myVar:OMessageVarType#6}
value=<?xml version="1.0" encoding="UTF-8"?>
> <message>hello world</message>

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