apache / hop

Hop Orchestration Platform
https://hop.apache.org/
Apache License 2.0
983 stars 352 forks source link

[Bug]: In file dialog Navigation to project home dir does not work. #3899

Open Oen1997 opened 6 months ago

Oen1997 commented 6 months ago

Apache Hop version?

2.8

Java version?

Java(TM) SE Runtime Environment (build 1.8.0_411-b09)

Operating system

Windows

What happened?

Clicking on button P does nothing. image

Issue Priority

Priority: 3

Issue Component

Component: Hop Gui

nadment commented 6 months ago

Could you try with Java 11

Oen1997 commented 6 months ago

Changed java to: openjdk version "11.0.23" 2024-04-16 LTS Issue still exists.

Few more notes: It does not work from any file related transform, when I press "Browse" . It works if I open File>Save, or File>Open dialog. When I try to open projects folder in this case, I get error: image

And reason is: image

hansva commented 6 months ago

could you add your project configuration too? Just to confirm, your PROJECT_HOME is ${HOP_CONFIG_FOLDER}/projects/PartMasterData ?

I will guess that we don't support nested variables causing path expansion to go wrong somewhere

Oen1997 commented 6 months ago

Yes, thats correct, different Config folders on my Pc, and Hop server, so I must use such approach: image

Solution might be to resolve variables in those dialogs, instead of trying to use them in place.

Oen1997 commented 6 months ago

By the way, tested single variable: image

hansva commented 6 months ago

Guess that will be the root cause of the issue.