ODE
  1. ODE
  2. ODE-289

Compiler doesn't properly flag outgoing links from structured activities

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.2
    • Labels:
      None

      Description

      When a link is nested within a structured activity, the compiler doesn't properly register it on said activity. As a result the runtime dpe doesnt't work. For example:

      <bpel:if name="TransitionResolver" suppressJoinFailure="yes">
      <bpel:targets>
      <bpel:target linkName="transition3" />
      </bpel:targets>
      <bpel:condition> true() </bpel:condition>
      <bpel:empty>
      <bpel:sources>
      <bpel:source linkName="should-be-dpe" />
      </bpel:sources>
      </bpel:empty>
      <bpel:else>
      <bpel:empty />
      </bpel:else>
      </bpel:if>

      Here the link "should-be-dpe" will not be eliminated simply because the runtime doesn't know the "TransitionResolver" if activity has such an outgoing link.

        Activity

        Hide
        Matthieu Riou added a comment -

        Added the missing outgoing link reference setup in the compiler. Also a bit more logging on links that are dpe at runtime, for the next time.

        Show
        Matthieu Riou added a comment - Added the missing outgoing link reference setup in the compiler. Also a bit more logging on links that are dpe at runtime, for the next time.

          People

          • Assignee:
            Matthieu Riou
            Reporter:
            Matthieu Riou
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development