Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 1.19] fix: A unary-test expression returns null instead of false #975

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

saig0
Copy link
Member

@saig0 saig0 commented Jan 21, 2025

Description

Backport of #969 to 1.19.

relates to camunda/camunda#27004
original author: @saig0

saig0 added 3 commits January 21, 2025 11:32
Add test cases for unary-test expressions to verify that an expression returns false.

(cherry picked from commit 113f7bc)
Fix a regression for unary-test expressions. If the expression evaluates to false and the input value is of a different type, the unary-test should return false instead of null.

(cherry picked from commit 0a2ec19)
Add test cases for the unary-test negation using not().

(cherry picked from commit b2edd82)
@saig0 saig0 merged commit b9017be into 1.19 Jan 21, 2025
4 checks passed
@saig0 saig0 deleted the backport-969-to-1.19 branch January 21, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant