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

get entries() expects a different argument name #320

Closed
saig0 opened this issue Aug 17, 2021 · 1 comment · Fixed by #336
Closed

get entries() expects a different argument name #320

saig0 opened this issue Aug 17, 2021 · 1 comment · Fixed by #336

Comments

@saig0
Copy link
Member

saig0 commented Aug 17, 2021

Describe the bug
In the DMN 1.3 spec, the function get entries() defines the argument: m .

But in the engine, the function expects the argument: context.
Background: the function was introduces in the engine before it was introduced in DMN 1.3.

To Reproduce

  1. Evaluate the expression
get entries(m:{a: "foo"})
  1. Verify that the expression evaluates to null instead of "foo"

Expected behavior
The get entries() function can be invoked with the named parameter: m.

For backward compatibility, the function should still support the argument: context.

Environment

  • FEEL engine version: 1.13.2
  • Affects:
    • Camunda BPM: [7.x]
    • Zeebe broker: [0.x]
@ubaldop
Copy link
Contributor

ubaldop commented Oct 1, 2021

May I take this, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants