string() function returns a string for a null value
saig0 opened this issue · 0 comments
saig0 commented
Describe the bug
If I invoke the string() function with null
, the function returns a string "null"
.
This behavior is different compared to previous versions of the FEEL engine (i.e. a regression).
To Reproduce
Steps to reproduce the behavior:
- Evaluate the expression
string(null)
- Verify that the result is a string
"null"
Expected behavior
If I invoke the string()
function with null
, it should return null
(i.e. a null value, not a string).
(DMN 1.5, 10.3.4.1 Conversion functions, page 138)
Related DMN-TCK test case 0079-feel-string-function.
Environment
- FEEL engine version:
1.17.0
- Affects:
- Camunda Automation Platform 7: [7.x]
- Zeebe broker:
8.3.0