Tuscany
  1. Tuscany
  2. TUSCANY-4008

operationProperties "selectedOperation" element not selecting the correct operation

    Details

    • Patch Info:
      Patch Available

      Description

      the operationProperties "selectedOperation" element is not selecting the correct operation when specified in a .composite file. For example:

      <operationProperties name="subtract" selectedOperation="proxyOpName" />

      Following the rules of operation selection, the operation selector determined the operation should be "proxyOpName", but even though the opertionProperties element was specified to have subtract be invoked, the code actually invoked proxyOpName.

      Debugged revealed the code was recognizing that a native operation should be updated, but it was retrieving the wrong information. JMSBinding.nativeOperationNames map is essentially "backwards" from what we actually want to retrieve (it was retrieving the native operation rather than the opName). So I've created a patch which create a new table mapping native operation -> opName, and updated the code as appropriate.

      1. selectedOperation.patch
        7 kB
        Jennifer A Thompson

        Activity

        Hide
        ant elder added a comment -

        Patch applied, thanks for the fix Jennifer.
        I did also have to update the JMS selectors itest which was using this function so needed to be updated to match.

        Show
        ant elder added a comment - Patch applied, thanks for the fix Jennifer. I did also have to update the JMS selectors itest which was using this function so needed to be updated to match.

          People

          • Assignee:
            ant elder
            Reporter:
            Jennifer A Thompson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development