You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The following unary test, which in itself does not make a lot of sense, behaves differently when being evaluated as a unary test and when being evaluated via an expression using the keyword "in":
Further examination:
In a unary test, not() is evaluated after the evaluation of the given unary test. In an expression, not() is only used to negate a boolean. It seems that the expression 5 in not(7) is evaluated as 5 in null.
To Reproduce
Steps to reproduce the behavior:
Enter the expressions above in the FEEL Playground.
Expected behavior
Unary tests and expressions using the keyword "in" should behave the same.
Environment
FEEL engine version: 1.17.3
Affects:
Zeebe: 8.3.3
The text was updated successfully, but these errors were encountered:
@saig0, no, I have not found any other examples for expressions with "in" and unary tests behaving differently.
So, regarding this bug ticket, when not() is used after "in" in an expression, it should be the not() for unary-tests, but currently is evaluated as not() as a built-in function?
Describe the bug
The following unary test, which in itself does not make a lot of sense, behaves differently when being evaluated as a unary test and when being evaluated via an expression using the keyword "in":
Further examination:
In a unary test,
not()
is evaluated after the evaluation of the given unary test. In an expression,not()
is only used to negate a boolean. It seems that the expression5 in not(7)
is evaluated as5 in null
.To Reproduce
Steps to reproduce the behavior:
Enter the expressions above in the FEEL Playground.
Expected behavior
Unary tests and expressions using the keyword "in" should behave the same.
Environment
1.17.3
8.3.3
The text was updated successfully, but these errors were encountered: