[jboss-jira] [JBoss JIRA] (DROOLS-1100) Decision table conversion to DRL logic change in some version later than 6.1.0.Final

Michael Anstis (JIRA) issues at jboss.org
Sat Mar 19 16:09:00 EDT 2016


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

Michael Anstis moved GUVNOR-2471 to DROOLS-1100:
------------------------------------------------

     Project: Drools  (was: Guvnor)
         Key: DROOLS-1100  (was: GUVNOR-2471)
    Workflow: GIT Pull Request workflow   (was: classic default workflow)


> Decision table conversion to DRL logic change in some version later than 6.1.0.Final
> ------------------------------------------------------------------------------------
>
>                 Key: DROOLS-1100
>                 URL: https://issues.jboss.org/browse/DROOLS-1100
>             Project: Drools
>          Issue Type: Bug
>            Reporter: Vytautas Gimbutas
>         Attachments: Screen Shot 2016-03-19 at 8.40.40 PM.png
>
>
> It seems there was a change of how decision tables are converted to DRL in some version later than 6.1.0. See attached screenshot for decision table i'm trying to generate.
> In 6.1.0.Final this gets converted to:
> {code}
> // rule values at C42, header at C37
> rule "X_42"
> 	no-loop true
> 	salience 65494
> 	when
> 		$p: Project(id == "40098")
> $c: Client()
> 	then
> 		modify($c) { incrementPricingStep(2, 8); }
> end
> {code}
> but in 6.4.0.CR1 it gets converted to:
> {code}
> // rule values at C42, header at C37
> rule "X_42"
> 	no-loop true
> 	salience 65494
> 	when
> 		$p: Project()
> $c: Client(id == "40098")
> 	then
> 		modify($c) { incrementPricingStep(2, 8); }
> end
> {code}
> Maybe this is not intentional and caused by accident?



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list