Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-4457

HOP-Server: Switch/case transform always uses default path

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.0.0
    • None
    • Hop Server
    • None

    Description

      It seems, that the switch/case transform always uses the default path under following circumstances:

      Parent-WF "testWF" with remote run config calls pipeline "testSwitch" with local run config.

      Pipeline "testSwitch" generates some rows, adds sequence and maps some values in field "SWH" depending on sequencenumber and finally calls another pipeline "logging" with SWH as parameter and local run config as well.

      Pipeline "logging" gets SWH as variable and switches cases depending on SWH, then writes something in the log.

       

      I created this case to simulate what my origin WF does. As it's far more complex I tried to reconstruct it that way.  Behaves exactly, as it does in the origin, where I use the filter rows transform as workaround.

      I'll attach the three HWF/HPL files as well, as the Log-Output.

      Ran on the local machine it works properly.

      Attachments

        1. image-2022-10-11-16-57-09-194.png
          17 kB
          kboersch
        2. Log.txt
          4 kB
          kboersch
        3. logging.hpl
          5 kB
          kboersch
        4. log-hop-gui_win10.png
          370 kB
          Shl Xue
        5. log-hop-server_win10.png
          162 kB
          Shl Xue
        6. log-macOS_12.6-openjdk_11.0.16.1.log
          4 kB
          Shl Xue
        7. testSwitch.hpl
          5 kB
          kboersch
        8. testWf.hwf
          3 kB
          kboersch

        Activity

          People

            shl.xue Shl Xue
            kboersch kboersch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment