You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Vitaliy Tkachenko (JIRA)" <ji...@apache.org> on 2019/01/29 15:42:00 UTC

[jira] [Issue Comment Deleted] (ODE-960) Attribute of a xml element is missing after an a value for that xml element

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

Vitaliy Tkachenko updated ODE-960:
----------------------------------
    Comment: was deleted

(was: I've tested ODE with this "fix" rolled back but found another problem - ODE doesn't distinguish between complex node selection $extPLRequest.parameters/ns:userIdin and its text subnode (inner text) selection $extPLRequest.parameters/ns:userIdin/text(). In second case ODE behaves like the whole node userIdin selected which is wrong. So here is the real bug - this fix should be reverted and implemented a fix allowing to distinguish either the whole complex node is selected or its text subnode.)

> Attribute of a xml element is missing after an <assign/> a value for that xml element
> -------------------------------------------------------------------------------------
>
>                 Key: ODE-960
>                 URL: https://issues.apache.org/jira/browse/ODE-960
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.5, 1.4
>         Environment: ode-axis2-war-1.4-SNAPSHOT
>            Reporter: Denis Weerasiri
>            Assignee: Tammo van Lessen
>            Priority: Major
>              Labels: patch
>             Fix For: 1.3.6, 1.4
>
>         Attachments: ODE-960.patch, testXPathAttribute.zip
>
>
> How to reproduce the issue: 
> 1. Deploy the attached testXPathAttribute.zip 
> 2. Invoke it with 
> <body> 
>    <p:testProcessRequest xmlns:p="http://eclipse.org/bpel/sample"> 
>       <p:input>1</p:input> 
>    </p:testProcessRequest> 
> </body> 
> 3. Check the variable value of "extPLRequest" 
> 4. It should have been something like 
> <message> 
>    <parameters> 
>       <getRewardTransRecord xmlns="http://ws.wso2.org/dataservice" testAttribute="testAttributeValue"> 
>          <ns1:userIdin testUserIdAttribute="testValue" xmlns:ns1="http://ws.wso2.org/dataservice">1</ns1:userIdin> 
>          <ns1:countIn xmlns:ns1="http://ws.wso2.org/dataservice">9</ns1:countIn> 
>       </getRewardTransRecord> 
>    </parameters> 
> </message> 
> But the real value is 
> <message> 
>    <parameters> 
>       <getRewardTransRecord xmlns="http://ws.wso2.org/dataservice" testAttribute="testAttributeValue"> 
>          <ns1:userIdin xmlns:ns1="http://ws.wso2.org/dataservice">1</ns1:userIdin> 
>          <ns1:countIn xmlns:ns1="http://ws.wso2.org/dataservice">9</ns1:countIn> 
>       </getRewardTransRecord> 
>    </parameters> 
> </message> 
> So the attribute is missing. 
> Regards, 
> Denis Weerasiri 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)