ODE
  1. ODE
  2. ODE-960

Attribute of a xml element is missing after an <assign/> a value for that xml element

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.5, 1.4
    • Fix Version/s: 1.3.6, 1.4
    • Component/s: BPEL Runtime
    • Labels:
    • Environment:
      ode-axis2-war-1.4-SNAPSHOT

      Description

      How to reproduce the issue:
      1. Deploy the attached testXPathAttribute.zip
      2. Invoke it with

      <body>
      <p:testProcessRequest xmlns="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

      1. testXPathAttribute.zip
        5 kB
        Denis Weerasiri
      2. ODE-960.patch
        3 kB
        Denis Weerasiri

        Activity

        Denis Weerasiri created issue -
        Denis Weerasiri made changes -
        Field Original Value New Value
        Attachment testXPathAttribute.zip [ 12522769 ]
        Denis Weerasiri made changes -
        Attachment ODE-960.patch [ 12522818 ]
        Sathwik Bantwal Premakumar made changes -
        Fix Version/s 1.3.6 [ 12323509 ]
        Fix Version/s 1.4 [ 12315144 ]
        Sathwik Bantwal Premakumar made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Tammo van Lessen [ vanto ]
        Resolution Fixed [ 1 ]
        Sathwik Bantwal Premakumar made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Tammo van Lessen [ vanto ] Sathwik Bantwal Premakumar [ sathwik ]
        Tammo van Lessen made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Assignee Sathwik Bantwal Premakumar [ sathwik ] Tammo van Lessen [ vanto ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Tammo van Lessen
            Reporter:
            Denis Weerasiri
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development