hop icon indicating copy to clipboard operation
hop copied to clipboard

[Bug]: Import of "User defined Java expression" (Janino) from kettle is converting the formula-Field wrong

Open Zusammenarbeit-GIP-RZV opened this issue 10 months ago • 0 comments

Apache Hop version?

2.8

Java version?

jdk-11.0.19.7-hotspot

Operating system

Windows

What happened?

I converted a bunch of Transformations from kettle files to HOP files using tha hop-import.bat. The most Part is converted just fine, but the "User defined Java expression" (Janino) don't show the formula. This is due an error in the conversion, where the node <formula_string> is converted in <formula>. This is not correct. It should still be <formula_string>. This seems to be related to the changes in the Formula Transform: https://github.com/apache/hop/blob/7330fa21d9f4317cdf05d66ea315758caec3c382/plugins/misc/import/src/main/java/org/apache/hop/imports/kettle/KettleConst.java#L73

Issue Priority

Priority: 2

Issue Component

Component: Import

Zusammenarbeit-GIP-RZV avatar Apr 04 '24 13:04 Zusammenarbeit-GIP-RZV