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. ODE-960.patch
        3 kB
        Denis Weerasiri
      2. testXPathAttribute.zip
        5 kB
        Denis Weerasiri

        Activity

        Hide
        Tammo van Lessen added a comment -

        fixed in 1.3.6 and trunk

        Show
        Tammo van Lessen added a comment - fixed in 1.3.6 and trunk
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in ODE-1.x #416 (See https://builds.apache.org/job/ODE-1.x/416/)
        fixing ODE-960, thanks Denis for the patch! (vanto: rev e2185e89f0b1121fb52153812d1921445bf382a4)

        • bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java
        Show
        Hudson added a comment - SUCCESS: Integrated in ODE-1 .x #416 (See https://builds.apache.org/job/ODE-1.x/416/ ) fixing ODE-960 , thanks Denis for the patch! (vanto: rev e2185e89f0b1121fb52153812d1921445bf382a4) bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in ODE-trunk-jdk6 #750 (See https://builds.apache.org/job/ODE-trunk-jdk6/750/)
        fixing ODE-960, thanks Denis for the patch! (vanto: rev 8bf25e167c1402ed7e1f58a88bb4e92b0c1f8dcd)

        • bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java
        Show
        Hudson added a comment - SUCCESS: Integrated in ODE-trunk-jdk6 #750 (See https://builds.apache.org/job/ODE-trunk-jdk6/750/ ) fixing ODE-960 , thanks Denis for the patch! (vanto: rev 8bf25e167c1402ed7e1f58a88bb4e92b0c1f8dcd) bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ASSIGN.java
        Hide
        Sathwik Bantwal Premakumar added a comment -

        Reopening as this issue as it needs some more fix.

        Show
        Sathwik Bantwal Premakumar added a comment - Reopening as this issue as it needs some more fix.
        Hide
        Sathwik Bantwal Premakumar added a comment -

        fixed via ODE-664

        Show
        Sathwik Bantwal Premakumar added a comment - fixed via ODE-664
        Hide
        Denis Weerasiri added a comment -

        A patch will be provided soon.

        Regards,
        Denis Weerasiri

        Show
        Denis Weerasiri added a comment - A patch will be provided soon. Regards, Denis Weerasiri

          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