You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "cvdenzen (via GitHub)" <gi...@apache.org> on 2024/07/03 15:22:58 UTC
[I] [Bug]: Import code dialog doesn't honor variables (hop)
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-unsubscribe@hop.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: Import code dialog doesn't honor variables (hop)
Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva closed issue #4105: [Bug]: Import code dialog doesn't honor variables
URL: https://github.com/apache/hop/issues/4105
--
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-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org