[jboss-jira] [JBoss JIRA] (DROOLS-2080) On Decision Tables with Hit Policy PRIORITY, only one output column needs the output values list

Edson Tirelli (JIRA) issues at jboss.org
Mon Oct 30 10:34:00 EDT 2017


Edson Tirelli created DROOLS-2080:
-------------------------------------

             Summary: On Decision Tables with Hit Policy PRIORITY, only one output column needs the output values list
                 Key: DROOLS-2080
                 URL: https://issues.jboss.org/browse/DROOLS-2080
             Project: Drools
          Issue Type: Bug
          Components: dmn engine
    Affects Versions: 7.4.1.Final
            Reporter: Edson Tirelli
            Assignee: Fedor Gavrilov
             Fix For: 7.5.0.Final


Currently, the compiler enforces that all output columns in a Decision Table with PRIORITY hitpolicy must have an output values list.

This is wrong, only one output column must have the output values list.

This is the commit when the behaviour was changed:

https://github.com/kiegroup/drools/pull/1176/commits/33ff310c5a302abff6fd40f879812c499d87bea3

This check needs to be changed appropriately

https://github.com/kiegroup/drools/blob/master/kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/compiler/DMNEvaluatorCompiler.java#L445




--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list