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.17] fix: A unary-test expression with ? returns true/false #964

Merged
merged 3 commits into from
Jan 3, 2025

Conversation

saig0
Copy link
Member

@saig0 saig0 commented Jan 3, 2025

Description

Backport of #959 to 1.17.

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

saig0 added 3 commits January 3, 2025 08:00
Add a test case to verify an unary-tests expression with the special variable `?` for a parameter with ANY type.

(cherry picked from commit 61b4473)
Check if a function argument is an error before invoking the function. Otherwise, the function may handle the argument not as an error but a regular value.

(cherry picked from commit 632bbe1)
Move the function validation in the interpreter before invoking the function.

(cherry picked from commit 8b2b612)
@saig0 saig0 requested a review from tasso94 January 3, 2025 08:25
@saig0 saig0 merged commit 817752b into 1.17 Jan 3, 2025
4 checks passed
@saig0 saig0 deleted the backport-959-to-1.17 branch January 3, 2025 09:17
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