gmitter-ef opened a new issue, #2909: URL: https://github.com/apache/hop/issues/2909
### Apache Hop version? 2.3 ### Java version? OpenJDK 11 ### Operating system Windows ### What happened? Look at the attached pipeline. Problem 1: when a Boolean stream field is passed to "Modified JavaScript value" step, the comparison for "true" only seems to be done correctly using "== true", but not using the bool variable itself. See 1.a). (1.b) is a result of 1.b) and can be ignored at first I think) When the bool is a JavaScript variable from the beginning (created via "var"), the condition works in both variants. See also 3). Problem 2: The comparison of two Integer stream fields via "!=" directly does not work correctly. When using Math.ceil on the Integers, however, the comparison works. Furthermore, it does work correctly when the integers are JavaScript variables from the beginning. See attached pipeline and notes for exact reproduction and comparison with regard to what would be expected vs. observed output. [test.zip](https://github.com/apache/hop/files/11430183/test.zip) ### Issue Priority Priority: 2 ### Issue Component Component: Transforms -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
