Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-1078

After node replacement old attributes are preserved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.8
    • None
    • BPEL Runtime
    • None

    Description

      The ODE-960 fix is invalid and should be rolled back.

      To select the whole node the following formula should be used (accordingly to the example given in theĀ ODE-960):

      $extPLRequest.parameters/ns:userIdin

      In this case the whole node and all its subnodes (including attributes) should be replaced with a new value.

      To select the userIdin's (inner) text node only the corresponding XPath should be used:

      $extPLRequest.parameters/ns:userIdin/text() which selects text subnode of the corresponding node. ODE works correctly in this case and removes node inner text only. See also my notes in the ODE-960.

      Note this works correctly in JBPM, the whole node with its content including attributes is replaced in case of its selection and only inner text if its text node is selected using text() function.

      Attachments

        Activity

          People

            Unassigned Unassigned
            virtualvat Vitaliy Tkachenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: