hop
hop copied to clipboard
[Bug]: Setting a variable to a scope of 'valid in the JVM' does not work upstream a repeating pipeline in a workflow
Apache Hop version?
2.8.0-SNAPSHOT (2024-02-01 04.40.17)
Java version?
openjdk version "11.0.19" 2023-04-18 LTS OpenJDK Runtime Environment Microsoft-7621296 (build 11.0.19+7-LTS) OpenJDK 64-Bit Server VM Microsoft-7621296 (build 11.0.19+7-LTS, mixed mode)
Operating system
Windows
What happened?
NOTE that scope of 'valid in JVM' works without a repeating pipeline and if top level is set to "the output will contain result rows after execution". If you use a repeating pipeline it will not work ... Pipeline_to_workflow_to_pipeline_all_the_way_up.zip
THE TEST: top level: Pipeline: call workflow mid level: Workflow: call repeating pipeline low level: Pipeline: set/send variable all the way back to top level Set variable so as to read it in the top-most level (pipeline)
RESULTS from setting variable in lowest pipeline:
- set scope to valid in root or parent workflow: A) PASS to mid level, B) FAIL to top level.
- set scope to valid in JVM or grand parent workflow: FAIL at mid level and top level
Please see 3 test files attached.
Issue Priority
Priority: 3
Issue Component
Component: Pipelines, Component: Workflows