[jboss-jira] [JBoss JIRA] (DROOLS-1791) ConditionInspectors for guided DT editor don't do checks for all allowed operators

Toni Rikkola (Jira) issues at jboss.org
Mon Jan 14 05:30:01 EST 2019


     [ https://issues.jboss.org/browse/DROOLS-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Toni Rikkola closed DROOLS-1791.
--------------------------------
    Resolution: Won't Do


> ConditionInspectors for guided DT editor don't do checks for all allowed operators
> ----------------------------------------------------------------------------------
>
>                 Key: DROOLS-1791
>                 URL: https://issues.jboss.org/browse/DROOLS-1791
>             Project: Drools
>          Issue Type: Enhancement
>          Components: Guided Decision Table Editor
>            Reporter: Zuzka Krejčová
>            Assignee: Toni Rikkola
>            Priority: Minor
>              Labels: reported-by-qe, verifier
>
> For String fields, guided DT editor allows the following operators:
> ==, !=, <, >, <=, >=, matches, soundslike, == null, != null, in, not in
> StringConditionInspector pretty much only checks if the operator is ==, != or 'in'.
> This means that some issues won't be detected (Validation and Verification for Decision Tables). E.g. for rules/conditions like 'str > "a"' and 'str > "c"', the subsumption won't be detected (but a fact instance with str == "x" will fire both rules).
> ComparableConditionInspector checks for ==, !=, <, >, <=, >= ops, but:
> for Dates, guided DT editor allows:
> ==, !=, <, >, <=, >=, == null, != null, in, not in, after, before, coincides
> for numerical types, guided DT editor allows:
> ==, !=, <, >, <=, >=, == null, != null, in, not in



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list