This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new 0993914cdc Issue #6372 (Minio GUI bug) (#6375)
0993914cdc is described below

commit 0993914cdcad762ac09f4446ab38313d19d65949
Author: Matt Casters <[email protected]>
AuthorDate: Wed Jan 14 11:34:29 2026 +0100

    Issue #6372 (Minio GUI bug) (#6375)
    
    Co-authored-by: Matt Casters <[email protected]>
---
 .../perspective/explorer/file/types/base/BaseExplorerFileType.java    | 4 ++--
 .../explorer/file/types/base/BaseExplorerFileTypeHandler.java         | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/file/types/base/BaseExplorerFileType.java
 
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/file/types/base/BaseExplorerFileType.java
index d24ec88fd1..a2a9594697 100644
--- 
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/file/types/base/BaseExplorerFileType.java
+++ 
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/file/types/base/BaseExplorerFileType.java
@@ -165,7 +165,7 @@ public abstract class BaseExplorerFileType<T extends 
IExplorerFileTypeHandler>
   public T openFile(HopGui hopGui, String filename, IVariables variables) 
throws HopException {
 
     try {
-      FileObject fileObject = 
HopVfs.getFileObject(variables.resolve(filename));
+      FileObject fileObject = HopVfs.getFileObject(filename, variables);
       String name = fileObject.getName().getBaseName();
 
       // Check the file size before opening.
@@ -203,7 +203,7 @@ public abstract class BaseExplorerFileType<T extends 
IExplorerFileTypeHandler>
 
       // Normalize the filename
       //
-      filename = HopVfs.normalize(variables.resolve(filename));
+      filename = HopVfs.getFilename(fileObject);
 
       // Open the file in the explorer perspective
       //
diff --git 
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/file/types/base/BaseExplorerFileTypeHandler.java
 
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/file/types/base/BaseExplorerFileTypeHandler.java
index db49b6665e..fc3b1a406d 100644
--- 
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/file/types/base/BaseExplorerFileTypeHandler.java
+++ 
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/explorer/file/types/base/BaseExplorerFileTypeHandler.java
@@ -62,7 +62,7 @@ public abstract class BaseExplorerFileTypeHandler implements 
IExplorerFileTypeHa
 
   protected String readTextFileContent(String encoding) throws HopException {
     try {
-      FileObject file = HopVfs.getFileObject(getFilename());
+      FileObject file = HopVfs.getFileObject(getFilename(), getVariables());
       if (file.exists()) {
         try (InputStream inputStream = HopVfs.getInputStream(file)) {
           StringWriter writer = new StringWriter();

Reply via email to