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

No-arg functions are not properly validated #1401

Closed
suhothayan opened this issue Jul 13, 2019 · 1 comment
Closed

No-arg functions are not properly validated #1401

suhothayan opened this issue Jul 13, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@suhothayan
Copy link
Contributor

Description:
Siddhi does not properly validate no-arg functions.

For example when map:create() is only allowed the following it still supports no-arg.

<OBJECT> map:create(<OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> key1, <OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> value1)
<OBJECT> map:create(<OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> key1, <OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> value1, <OBJECT|INT|LONG|FLOAT|DOUBLE|FLOAT|BOOL|STRING> ...)

Affected Version:
Execution Map (5.0.3) and Siddhi 5.1.0, 5.1.1

Related Issues:
siddhi-io/siddhi-execution-map#53

@suhothayan suhothayan added this to the 5.1.2 milestone Jul 13, 2019
@suhothayan suhothayan self-assigned this Jul 14, 2019
suhothayan added a commit to suhothayan/siddhi that referenced this issue Jul 14, 2019
mohanvive added a commit that referenced this issue Jul 14, 2019
Fix no-arg functions are not properly validated #1401
@mohanvive
Copy link
Contributor

Issue is fixed in #1402 ..

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

No branches or pull requests

2 participants