hop icon indicating copy to clipboard operation
hop copied to clipboard

[Bug]: Default environment config filename removed when selecting a folder

Open maxbobse opened this issue 1 month ago • 1 comments

Apache Hop version?

2.16

Java version?

OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode, sharing)

Operating system

Windows

What happened?

I am creating a new environment config file by clicking the New button in the Environment properties window. It defaults the path with the filename <ENVNAME>-config.json which is good. But if I now select another directory where I want to store my file, it removes the filename from the path. So before I can actually enter the correct path to the new file, I now have to enter the filename manually again.

Issue Priority

Priority: 3

Issue Component

Component: Hop Gui

maxbobse avatar Dec 10 '25 09:12 maxbobse

IMHO the issue is with the initial suggestion of a specific file pattern that must not happen. Ideally you can select whatever file you want and the convention in the naming schema is up to you and your methodology and naming schema. But this is only my personal point of view :-)

sramazzina avatar Dec 17 '25 09:12 sramazzina

I believe to suggest a filename with json extension is OK for starters so the user knows right away that they are supposed to create a JSON file in the first place.

maxbobse avatar Dec 18 '25 21:12 maxbobse

It will just be a configuration mistake in the file dialog. when saving a new pipeline/workflow the suggested filename does not disappear when switching folders.

hansva avatar Dec 19 '25 05:12 hansva