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

Rethrown fault data must be immutable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.6, 1.4
    • BPEL Runtime
    • None

    Description

      When a fault is thrown with fault data, then caught by a fault handler, modified and then rethrown, the resulting fault must contain the unmodified fault data but currently doesn't.

      From the spec:

      The <rethrow> activity is used in fault handlers to rethrow the fault they caught, i.e. the fault name and, where present, the fault data of the original fault. It can be used only within a fault handler (<catch> and <catchAll>). Modifications to the fault data MUST be ignored by <rethrow>. For example, if the logic in a fault handler modifies the fault data and then call <rethrow>, the original fault data would be rethrown and not the modified fault data.

      Found via Betsy.

      Attachments

        Activity

          People

            vanto Tammo van Lessen
            vanto Tammo van Lessen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: