cvdenzen opened a new issue, #4105:
URL: https://github.com/apache/hop/issues/4105

   ### Apache Hop version?
   
   2.9.0
   
   ### Java version?
   
   11.0.15
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   Various input fields of the "Import code to Hop" dialog show the diamond at 
the right side, so the input fields should accept variables in the form ${var}.
   I have set a variable GIT during startup with 
HOP_OPTIONS=-DGIT="C:/data/git".
   When I set the "Import from" input field to "${GIT}/Pentaho\PDIRepository", 
I can see the substituted value in the tooltip 
("C:/data/git/Pentaho\PDIRepository").
   But when I try to import (click on button "Import") I see an error message.
   
   Error from the "Import from" field:
   ```
   HopFileException: 
   Error verifying input folder ${GIT}\Pentaho\PDIRepository
   input folder '${GIT}\Pentaho\PDIRepository' doesn't exist or is not a folder.
   ```
   
   This problem seems to affect not only the "Import from" field in the dialog, 
but also the "Import to folder" (and possibly more).
   When I fill in the ${GIT} variablein the the "Import to folder" field, I see 
this error:
   ```
   InvocationTargetException: Error importing 
org.apache.hop.core.exception.HopException: 
   Error importing Kettle files into Hop
   No group with name {GIT}
   ```
   
   Remark: When I click "Browse" for the field, it opens directly with the 
substituted value (but that could also be, because that was the latest valid 
value for the field).
   
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Import


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to