Skip to content

[Bug]: Checked "Always log rows" in "Abort workflow" action leads to wrong flow of execution #5982

@gmitter-ef

Description

@gmitter-ef

Apache Hop version?

2.15

Java version?

OpenJDK 17

Operating system

Windows

What happened?

An outer workflow calls an inner workflow which calls a pipeline.
The pipeline deliberately fails, which is handled via a "Abort" transform.
The inner workflow recognizes the failing pipeline correctly via the "Failure hop" and calls an "Abort workflow" action.
The outer worklfow then does NOT recognize the failure of the inner workflow and follows the "Success hop" instead of the "Failure hop".

The wrong behaviour occurs if:

  • an action SITS BETWEEN the failing pipeline and the "Abort workflow" action in the inner workflow
  • in the "Abort workflow" action of the inner workflow, "Always log rows" is CHECKED

If the "Abort workflow" action is DIRECTLY attached to the failing pipeline, the correct behaviour is shown, irrespective of the status of the checkbox.

I believe the "Abort workflow" checkbox should not change the flow of execution, depending on whether actions are in between the failing pipeline and "Abort workflow" or not.

Bug reproduction is inside the attached project (abort-checkbox-bug.zip): see the notes in the workflows.

Expected behaviour (as when checkbox is unchecked):

Image

Observed behaviour (when checkbox is checked):

Image

Issue Priority

Priority: 3

Issue Component

Component: Hop Gui, Component: Actions

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions