[jboss-jira] [JBoss JIRA] (DROOLS-3280) DMNRuntime API for evaluateByID/Name to error if empty array

Toshiya Kobayashi (Jira) issues at jboss.org
Thu Mar 12 22:56:09 EDT 2020


    [ https://issues.redhat.com/browse/DROOLS-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13997848#comment-13997848 ] 

Toshiya Kobayashi commented on DROOLS-3280:
-------------------------------------------

Done by https://github.com/kiegroup/drools/commit/007dc489404a7ac5e13f2f5550a8655668c8f103

> DMNRuntime API for evaluateByID/Name to error if empty array
> ------------------------------------------------------------
>
>                 Key: DROOLS-3280
>                 URL: https://issues.redhat.com/browse/DROOLS-3280
>             Project: Drools
>          Issue Type: Enhancement
>          Components: dmn engine
>    Affects Versions: 7.30.0.Final
>            Reporter: Matteo Mortari
>            Assignee: Toshiya Kobayashi
>            Priority: Optional
>              Labels: good-first-issue
>             Fix For: 7.32.0.Final
>
>
> there is already some null-check for the public API parameters. However if passing an empty array (e.g. in the varargs) is still semantically wrong when calling these public API method (e.g. evaluate by ID, without passing any IDs). Augment to extend proper checks to support end-user using public API



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list